diff options
author | nyan <nyan@FreeBSD.org> | 2005-05-01 09:44:50 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2005-05-01 09:44:50 +0000 |
commit | 123c83cc66090aa52108735885d185f6864732df (patch) | |
tree | fb3abcc383dcec699298f87fa643d8a8b18e6792 /sys/geom/geom_pc98_enc.c | |
parent | 987cd7bedcbb255e6cc75191770251b5bcf5036b (diff) | |
download | FreeBSD-src-123c83cc66090aa52108735885d185f6864732df.zip FreeBSD-src-123c83cc66090aa52108735885d185f6864732df.tar.gz |
Fix signed vs unsigned warning.
Diffstat (limited to 'sys/geom/geom_pc98_enc.c')
-rw-r--r-- | sys/geom/geom_pc98_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_pc98_enc.c b/sys/geom/geom_pc98_enc.c index 04de220..cf0f7f3 100644 --- a/sys/geom/geom_pc98_enc.c +++ b/sys/geom/geom_pc98_enc.c @@ -35,7 +35,7 @@ void pc98_partition_dec(void const *pp, struct pc98_partition *d) { unsigned char const *ptr = pp; - int i; + u_int i; d->dp_mid = ptr[0]; d->dp_sid = ptr[1]; @@ -58,7 +58,7 @@ void pc98_partition_enc(void *pp, struct pc98_partition *d) { unsigned char *ptr = pp; - int i; + u_int i; ptr[0] = d->dp_mid; ptr[1] = d->dp_sid; |