]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Use correct data type in discover_nfs_mount_data_version()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Jul 2009 20:48:50 +0000 (16:48 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 14 Jul 2009 20:48:50 +0000 (16:48 -0400)
commit4fc8cacd748d59dd3f463148994700bdd7610908
treec6effe07d1fba81e595ee0dc7368b973ac65e63c
parent5600327322a78a3a803368c0fe4f923cf14a4cf7
mount.nfs: Use correct data type in discover_nfs_mount_data_version()

Address compiler warning:

    mount.c: In function discover_nfs_mount_data_version¿:
    mount.c:162: warning: comparison between signed and unsigned
    mount.c:164: warning: comparison between signed and unsigned
    mount.c:166: warning: comparison between signed and unsigned
    mount.c:168: warning: comparison between signed and unsigned
    mount.c:170: warning: comparison between signed and unsigned
    mount.c:178: warning: comparison between signed and unsigned

linux_version_code() and MAKE_VERSION() both return an unsigned int.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/mount.c