projects
/
free-sw
/
xcb
/
libxcb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid race condition when using multiple make jobs
[free-sw/xcb/libxcb]
/
src
/
xcb_util.c
diff --git
a/src/xcb_util.c
b/src/xcb_util.c
index
a79296b
..
bd9f2b5
100644
(file)
--- a/
src/xcb_util.c
+++ b/
src/xcb_util.c
@@
-49,7
+49,7
@@
static const int error_connection = 1;
int xcb_popcount(uint32_t mask)
{
- u
nsigned long
y;
+ u
int32_t
y;
y = (mask >> 1) & 033333333333;
y = mask - y - ((y >> 1) & 033333333333);
return ((y + (y >> 3)) & 030707070707) % 077;