diff options
| author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-22 11:44:36 +0200 |
|---|---|---|
| committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-22 11:44:36 +0200 |
| commit | 9c5128866ea65ad300b40d47a9d43998dc8bc9f4 (patch) | |
| tree | c84646b77419d1231e6e966e638f7f09abae8d3d /src/common.h | |
| parent | 0647b37dfc35145d74822844ad7e54bf5c218369 (diff) | |
janitor: fix compiler warnings
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
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)) |
