diff options
author | Alon Levy <alevy@redhat.com> | 2012-03-14 16:51:51 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-03-14 16:51:51 +0200 |
commit | da1b0ee3d267a611f950f3122aa513fce689506a (patch) | |
tree | 6948223bd237b10913d7dbe2aa94c419dd7e9c07 /server/tests/basic_event_loop.h | |
parent | 30f347e41ae768745d6ccb6711f1ca46ebfbe045 (diff) | |
download | spice-0.8.tar.gz spice-0.8.tar.xz spice-0.8.zip |
client: fix two narrowing conversion c++-11 warnings0.8
Warnings are from initializing members of type int from uint32_t. Fix is
to change alt_image and red_icon height and width fields to ints.
Example warning fixed:
res.cpp:58: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]
Signed-off-by: Alon Levy <alevy@redhat.com>
Diffstat (limited to 'server/tests/basic_event_loop.h')
0 files changed, 0 insertions, 0 deletions