summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__uClibc_main.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-28 21:09:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-28 21:09:38 +0000
commit82ee388333167a95ed997f1c49a25aabafb90672 (patch)
tree096968a1808af565c410897c0107b977ad79a3fd /libc/misc/internals/__uClibc_main.c
parentbd523e22b5891349d8ce71dadc8ebbf7376da56c (diff)
typecast away signed/unsigned warnings
Diffstat (limited to 'libc/misc/internals/__uClibc_main.c')
-rw-r--r--libc/misc/internals/__uClibc_main.c4
1 files 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)))
{