diff options
author | peter <peter@FreeBSD.org> | 2003-07-24 01:59:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-07-24 01:59:18 +0000 |
commit | 44b5ea3111c5c9286ae04a396c766901e8e5b55c (patch) | |
tree | 807dfc524631c0ba48c0e801bb54602242f1827f /sys/fs/smbfs | |
parent | a60ef94facf7f32b340fddd9ffef174eddc4d826 (diff) | |
download | FreeBSD-src-44b5ea3111c5c9286ae04a396c766901e8e5b55c.zip FreeBSD-src-44b5ea3111c5c9286ae04a396c766901e8e5b55c.tar.gz |
size_t != int. Make this compile on 64 bit platforms (eg: amd64).
Also, "u_short value; if (value > 0xffff)" can never be true.
Diffstat (limited to 'sys/fs/smbfs')
-rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 2d8b3ac..5bc646a 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -332,7 +332,8 @@ smbfs_init(struct vfsconf *vfsp) { #ifndef SMP int name[2]; - int olen, ncpu, plen, error; + int ncpu, error; + size_t olen, plen; name[0] = CTL_HW; name[1] = HW_NCPU; |