]> git.corax.cc Git - corax/commitdiff
Use parentheses in the definition of sigset_t's val member, otherwise it will be...
authorMatthias Kruk <m@m10k.eu>
Thu, 16 Jan 2020 10:49:51 +0000 (19:49 +0900)
committerMatthias Kruk <m@m10k.eu>
Thu, 16 Jan 2020 10:49:51 +0000 (19:49 +0900)
include/signal.h

index 78031e251d7c3053553b4e385579bac7e6b00293..7de589c3e1f5f60969d01ca3b8cca2d4032cbbe2 100644 (file)
@@ -54,7 +54,7 @@ typedef struct siginfo siginfo_t;
 typedef unsigned int clock_t;
 
 typedef struct {
-       unsigned long int val[1024 / 8 * sizeof(unsigned long int)];
+       unsigned long int val[1024 / (8 * sizeof(unsigned long int))];
 } sigset_t;
 
 typedef union {