Blame SOURCES/nfs-utils-1.3.0-nfsd-warnings.patch
|
|
64c563 |
commit a2e431fdd114f2c2466573471dafef9024392f2d
|
|
|
64c563 |
Author: Steve Dickson <steved@redhat.com>
|
|
|
64c563 |
Date: Wed Apr 30 12:26:06 2014 -0400
|
|
|
64c563 |
|
|
|
64c563 |
nfsd: Remove some warnings nfsd.c
|
|
|
64c563 |
|
|
|
64c563 |
nfsd.c:347:15: warning: comparison between signed and unsigned integer
|
|
|
64c563 |
expressions [-Wsign-compare]
|
|
|
64c563 |
nfsd.c:385:13: warning: comparison between signed and unsigned integer
|
|
|
64c563 |
expressions [-Wsign-compare]
|
|
|
64c563 |
|
|
|
64c563 |
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
|
64c563 |
|
|
|
64c563 |
diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c
|
|
|
64c563 |
index 73d6a92..03e3c81 100644
|
|
|
64c563 |
--- a/utils/nfsd/nfsd.c
|
|
|
64c563 |
+++ b/utils/nfsd/nfsd.c
|
|
|
64c563 |
@@ -101,7 +101,7 @@ main(int argc, char **argv)
|
|
|
64c563 |
int count = NFSD_NPROC, c, i, error = 0, portnum = 0, fd, found_one;
|
|
|
64c563 |
char *p, *progname, *port, *rdma_port = NULL;
|
|
|
64c563 |
char **haddr = NULL;
|
|
|
64c563 |
- unsigned int hcounter = 0;
|
|
|
64c563 |
+ int hcounter = 0;
|
|
|
64c563 |
int socket_up = 0;
|
|
|
64c563 |
unsigned int minorvers = 0;
|
|
|
64c563 |
unsigned int minorversset = 0;
|