From: Lawrence S. <ljs...@us...> - 2013-06-08 17:23:12
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via d4c9df5847dd7e5c4ed4d38a52e79f2008cda524 (commit) from a62d98709d267c8fbf0402aa64d479a3e57b9485 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d4c9df5847dd7e5c4ed4d38a52e79f2008cda524 Author: Lawrence Sebald <ljs...@us...> Date: Sat Jun 8 13:22:52 2013 -0400 Fix signed/unsigned comparison in inet_ntop. ----------------------------------------------------------------------- Summary of changes: kernel/libc/koslib/inet_ntop.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/libc/koslib/inet_ntop.c b/kernel/libc/koslib/inet_ntop.c index 63e90a0..657595e 100644 --- a/kernel/libc/koslib/inet_ntop.c +++ b/kernel/libc/koslib/inet_ntop.c @@ -57,7 +57,8 @@ static const char *inet_ntop4(const void *src, char *dst, socklen_t size) { static const char *inet_ntop6(const void *src, char *dst, socklen_t size) { int tmp[8] = { 0 }; - int runstart = -1, maxzero = 0, dcs = -1, i; + int runstart = -1, maxzero = 0; + socklen_t i, dcs = (socklen_t)-1; char tmpstr[4]; char *ch = tmpstr, *ch2 = dst; int part; hooks/post-receive -- A pseudo Operating System for the Dreamcast. |