diff options
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index 57d47a0..d1c8397 100644 --- a/src/common.h +++ b/src/common.h | |||
| @@ -80,7 +80,7 @@ static inline int bitcount(unsigned v) | |||
| 80 | 80 | ||
| 81 | /* boost-style foreach bit */ | 81 | /* boost-style foreach bit */ |
| 82 | #define foreach_bit(i, m) \ | 82 | #define foreach_bit(i, m) \ |
| 83 | for (i = firstbit(m); i >= 0; i = firstbit((m) & (~0U << i + 1))) | 83 | for (i = firstbit(m); i >= 0; i = firstbit((m) & (~0U << (i + 1)))) |
| 84 | 84 | ||
| 85 | /* robust system ioctl calls */ | 85 | /* robust system ioctl calls */ |
| 86 | #define SYSCALL(call) while (((call) == -1) && (errno == EINTR)) | 86 | #define SYSCALL(call) while (((call) == -1) && (errno == EINTR)) |
