diff options
author | Arnaud Fontaine <arnau@debian.org> | 2009-12-14 21:19:49 +0100 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2010-11-14 20:22:29 +0900 |
commit | ec283ed176d57082028388e0cb1f9fb433836182 (patch) | |
tree | 7931dce2cdc5f57c24b1a2efc19a49d9d7d3ec54 /ewmh | |
parent | f5184e10a70fe3a38f240f2ff281c58ab70eb715 (diff) |
Fix compiler warning by casting the value to uint64_t before the shift
Diffstat (limited to 'ewmh')
-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; } |