(__SIGSETFN): Cast result of sizeof to int to avoid warning.
authorroland <roland>
Mon, 13 Mar 1995 08:00:17 +0000 (08:00 +0000)
committerroland <roland>
Mon, 13 Mar 1995 08:00:17 +0000 (08:00 +0000)
sysdeps/generic/sigset.h

index bc56d96..b3664e7 100644 (file)
@@ -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);                                                    \