[K42-discussion] [PATCH] Fixed GCC warning for mixing signed and unsigned ints
Donour Sizemore
donour at cs.unm.edu
Tue Oct 3 09:07:19 EST 2006
Signed-off-by: Donour Sizemore <donour at milhouse.localdomain>
---
bin/runprog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/runprog.c b/bin/runprog.c
index 753f702..b6ec841 100644
--- a/bin/runprog.c
+++ b/bin/runprog.c
@@ -59,7 +59,7 @@ dupsock(int port)
int fd;
int sfd;
struct sockaddr_in saddr;
- int slen;
+ unsigned int slen;
if ((fd = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
--
1.4.1.1
More information about the K42-discussion
mailing list