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