From c39cfbdcd0066ab44a793046237c07de985bb048 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sat, 7 Jan 2012 01:45:20 +0100 Subject: [PATCH] Image size is always unsigned --- picoproj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picoproj.c b/picoproj.c index 7e7cdd5..32f90ea 100644 --- a/picoproj.c +++ b/picoproj.c @@ -228,7 +228,7 @@ int main(int argc, char *argv[]) int width = 800; int height = 480; uint8_t *image = NULL; - int size = 59475; + unsigned int size = 59475; while ((opt = getopt(argc, argv, "f:F:W:H:h")) != -1) { switch (opt) { -- 2.1.4