diff options
author | Josh Triplett <josh@freedesktop.org> | 2006-11-21 20:29:34 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2006-11-21 20:29:34 -0800 |
commit | 3de6ab7b786775d9e7df1523c27cdfe3ffd3a25f (patch) | |
tree | 9b7a753f4542be9846edf3003e519541d49d213a /src/xcb_util.c | |
parent | 7fbfebaa3fb3a5ca2d2a307a0a5c40c015e18115 (diff) |
Replace uses of "long" with uint32_t, and similar; fixes 64-bit bugs
Diffstat (limited to 'src/xcb_util.c')
-rw-r--r-- | src/xcb_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_util.c b/src/xcb_util.c index a79296b..bd9f2b5 100644 --- 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) { - unsigned long y; + uint32_t y; y = (mask >> 1) & 033333333333; y = mask - y - ((y >> 1) & 033333333333); return ((y + (y >> 3)) & 030707070707) % 077; |