mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-06 01:27:20 +00:00
Fix -Wsign
This commit is contained in:
parent
79e5a52d05
commit
08b3e1d8f1
@ -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++;
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ void playback_timer_cb(SPICE_GNUC_UNUSED void *opaque)
|
||||
static int t = 0;
|
||||
static uint64_t last_sent_usec = 0;
|
||||
static uint64_t samples_to_send;
|
||||
int i;
|
||||
uint32_t i;
|
||||
struct timeval cur;
|
||||
uint64_t cur_usec;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user