diff options
author | Arnaud Fontaine <arnau@debian.org> | 2009-12-14 21:19:49 +0100 |
---|---|---|
committer | Arnaud Fontaine <arnau@debian.org> | 2010-08-09 16:06:30 -0500 |
commit | 70b94464461f4f3f31c34c19990e831ad1ccb7cc (patch) | |
tree | 324f9fd15353e6540df5b6effbec8e7d186653bc | |
parent | ae98ec59349502a6ab0081bdafcc3d6a7d13f947 (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; } |