--- server/tests/test_display_streaming.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tests/test_display_streaming.c b/server/tests/test_display_streaming.c index 01c7e7a..4515051 100644 --- a/server/tests/test_display_streaming.c +++ b/server/tests/test_display_streaming.c @@ -107,7 +107,7 @@ static void create_clipped_frame(Test *test, Command *command, int clipping_fact cmd->bitmap = g_malloc(width*height*4); memset(cmd->bitmap, 0xff, width*height*4); dst = (uint32_t *)(cmd->bitmap + cur_line*width*4); - for (cur_line; cur_line < end_line; cur_line++) { + for (; cur_line < end_line; cur_line++) { int col; for (col = 0; col < width; col++, dst++) { *dst = 0x00FF00; -- 1.9.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel