summaryrefslogtreecommitdiffstats
path: root/client/x11/playback.cpp
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-01-13 15:26:57 +0100
committerHans de Goede <hdegoede@redhat.com>2012-01-13 15:26:57 +0100
commit0ac13ecbc4c20d322b1c49935678c25e621a0a99 (patch)
treee5e80aafa2a9abb6d56cdeacf60cc166ccb7f241 /client/x11/playback.cpp
parentc6800dacf01e8d06b1fde3ca5893bf83d7fa270e (diff)
downloadspice-0ac13ecbc4c20d322b1c49935678c25e621a0a99.tar.gz
spice-0ac13ecbc4c20d322b1c49935678c25e621a0a99.tar.xz
spice-0ac13ecbc4c20d322b1c49935678c25e621a0a99.zip
client-x11: Fix building with gcc-4.7
Without this change gcc says: x11/res.cpp:31:1: error: narrowing conversion of ‘(((unsigned int)_alt_image.<anonymous struct>::width) * 4u)’ from ‘unsigned int’ to ‘int’ inside { } is ill-formed in C++11 [-Werror=narrowing] x11/res.cpp:61:1: error: narrowing conversion of ‘_red_icon.<anonymous struct>::width’ from ‘const uint32_t {aka const unsigned int}’ to ‘int’ inside { } is ill-formed in C++11 [-Werror=narrowing] x11/res.cpp:61:1: error: narrowing conversion of ‘_red_icon.<anonymous struct>::height’ from ‘const uint32_t {aka const unsigned int}’ to ‘int’ inside { } is ill-formed in C++11 [-Werror=narrowing] cc1plus: all warnings being treated as errors Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'client/x11/playback.cpp')
0 files changed, 0 insertions, 0 deletions