From 5fc912073b0fa0f0559f28657c7aa384aa1602a8 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Wed, 26 Apr 2006 08:12:57 +0000 Subject: [PATCH] * No way, dude. You cannot declare x and y unsigned if you test for (x < 0). --- cucul/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cucul/import.c b/cucul/import.c index bb906ae..d3060e6 100644 --- a/cucul/import.c +++ b/cucul/import.c @@ -212,7 +212,7 @@ static cucul_canvas_t *import_ansi(void const *data, unsigned int size) unsigned int i; unsigned int count = 0; unsigned int tuple[1024]; /* Should be enough. Will it be ? */ - unsigned int x = 0, y = 0; + int x = 0, y = 0; unsigned int width = 80, height = 25; int save_x = 0, save_y = 0; unsigned int j, skip;