summary refs log tree commit diff
path: root/sysdeps/generic/sigset.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/sigset.h')
-rw-r--r--sysdeps/generic/sigset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/sigset.h b/sysdeps/generic/sigset.h
index bc56d96daf..b3664e7876 100644
--- a/sysdeps/generic/sigset.h
+++ b/sysdeps/generic/sigset.h
@@ -57,7 +57,7 @@ typedef unsigned long int __sigset_t;
   _EXTERN_INLINE int							      \
   __##NAME (CONST __sigset_t *__set, int __sig)				      \
   {									      \
-    if (__sig < 1 || __sig > sizeof (__sigset_t) * 8)			      \
+    if (__sig < 1 || __sig > (int) sizeof (__sigset_t) * 8)		      \
       {									      \
 	extern int raise (int);						      \
 	return raise (-1);						      \