From 82ee388333167a95ed997f1c49a25aabafb90672 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 28 Dec 2005 21:09:38 +0000 Subject: typecast away signed/unsigned warnings --- libc/misc/internals/__uClibc_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 09922dbf4..669eb06d5 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -244,8 +244,8 @@ __uClibc_main(int (*main)(int, char **, char **), int argc, /* Prevent starting SUID binaries where the stdin. stdout, and * stderr file descriptors are not already opened. */ - if ((auxvt[AT_UID].a_un.a_val==-1 && __check_suid()) || - (auxvt[AT_UID].a_un.a_val != -1 && + if ((auxvt[AT_UID].a_un.a_val == (size_t)-1 && __check_suid()) || + (auxvt[AT_UID].a_un.a_val != (size_t)-1 && (auxvt[AT_UID].a_un.a_val != auxvt[AT_EUID].a_un.a_val || auxvt[AT_GID].a_un.a_val != auxvt[AT_EGID].a_un.a_val))) { -- cgit v1.2.3