aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorOlaf Buddenhagen <antrik@users.sf.net>2015-11-29 21:53:35 +0100
committerOlaf Buddenhagen <antrik@users.sf.net>2015-11-30 09:13:08 +0100
commit32ed86a976c585e238e9ccfcc642e4ac70a27710 (patch)
treef75659bda3393f44acfb2e4351e97466230c87ad /tests
parent6a3ee2af759cf803d787cf6dcbafcdcc4e0243cd (diff)
downloadglutin-32ed86a976c585e238e9ccfcc642e4ac70a27710.tar.gz
glutin-32ed86a976c585e238e9ccfcc642e4ac70a27710.zip
Fix compilation for 32 bit targets
Regression introduced in 47df0e9eaa7f1231a07f86fc44426936c7a2589a Casting fullscreen_atom (which is the result from XInternAtom, i.e. c_ulong) as i64 is obviously wrong -- the whole point of types such as c_ulong is that long in C does *not* always have the same bit size... Cast it as c_long instead. While this is the most straightforward fix, I'm not sure it's the best one: perhaps the x11 crate should offer a set_ulong() method along with set_long(), which could be used here instead of the cast?
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions