diff options
Diffstat (limited to 'test/test-server.c')
-rw-r--r-- | test/test-server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-server.c b/test/test-server.c index dc277d5..91a3db5 100644 --- a/test/test-server.c +++ b/test/test-server.c @@ -99,8 +99,8 @@ static const guint DIGIT_HEIGHT = 5; static void print_number (gchar *buffer, guint number, guint x, guint y, guint width) { - for (int i = 0; i < DIGIT_WIDTH; i++) { - for (int j = 0; j < DIGIT_HEIGHT; j++) { + for (guint i = 0; i < DIGIT_WIDTH; i++) { + for (guint j = 0; j < DIGIT_HEIGHT; j++) { char val = (char) g_digits[number][j * DIGIT_WIDTH + i]; if (val != 0x00) { @@ -131,7 +131,7 @@ print_current_frame (gchar *buffer, guint number, guint width, guint height, GRa //for every row again. char default_line[width]; - for (int p = 0; p < width; p++) { + for (guint p = 0; p < width; p++) { default_line[p] = (char) ((p * 256) / (width)); } |