diff options
author | Arnaud Fontaine <arnau@debian.org> | 2009-12-14 21:19:49 +0100 |
---|---|---|
committer | Arnaud Fontaine <arfontaine@ITEM-58736.dhcp.oxfd.uk.sopra> | 2010-02-11 14:47:30 +0000 |
commit | c491679ca6734193ccfc967d715f4c71a61ef02e (patch) | |
tree | 3a69d1caf33de280f8221108fbff2906cd8947d5 | |
parent | bebb6c2ba94189c4f3880ac2ef38151535f1e353 (diff) |
Fix compiler warning by casting the value to uint64_t before the shift
-rw-r--r-- | ewmh/ewmh.c.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ewmh/ewmh.c.m4 b/ewmh/ewmh.c.m4 index a8ad3c2..a73cc5b 100644 --- a/ewmh/ewmh.c.m4 +++ b/ewmh/ewmh.c.m4 @@ -1234,7 +1234,7 @@ xcb_ewmh_get_wm_sync_request_counter_from_reply(uint64_t *counter, return 0; uint32_t *r_value = (uint32_t *) xcb_get_property_value(r); - *counter = (r_value[0] | r_value[1] << 32); + *counter = (r_value[0] | ((uint64_t) r_value[1]) << 32); return 1; } |