diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-01 13:42:48 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2014-09-12 18:00:30 +0200 |
commit | 08b3e1d8f187fb371d9ade2f69670378e3e409f5 (patch) | |
tree | d99593f986b5417fd13ea2c19fb80d5e2674ed94 /server/tests/test_display_base.c | |
parent | 79e5a52d0553b07c0e8ca5a894c5d371a07a8964 (diff) | |
download | spice-08b3e1d8f187fb371d9ade2f69670378e3e409f5.tar.gz spice-08b3e1d8f187fb371d9ade2f69670378e3e409f5.tar.xz spice-08b3e1d8f187fb371d9ade2f69670378e3e409f5.zip |
Fix -Wsign
Diffstat (limited to 'server/tests/test_display_base.c')
-rw-r--r-- | server/tests/test_display_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/test_display_base.c b/server/tests/test_display_base.c index 9bb29b79..bdac6807 100644 --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -215,7 +215,7 @@ static SimpleSpiceUpdate *test_spice_create_update_solid(uint32_t surface_id, QX uint32_t *dst; uint32_t bw; uint32_t bh; - int i; + uint32_t i; bw = bbox.right - bbox.left; bh = bbox.bottom - bbox.top; @@ -450,7 +450,7 @@ struct QXLCommandExt* commands[1024]; static void push_command(QXLCommandExt *ext) { - ASSERT(commands_end - commands_start < COMMANDS_SIZE); + ASSERT(commands_end - commands_start < (int) COMMANDS_SIZE); commands[commands_end % COMMANDS_SIZE] = ext; commands_end++; } |