From: Antonio Ospite Date: Sat, 7 Jan 2012 00:45:20 +0000 (+0100) Subject: Image size is always unsigned X-Git-Tag: v0.1.0~38 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/c39cfbdcd0066ab44a793046237c07de985bb048?ds=sidebyside;hp=854d802794a6c67c3bb7fe87f1b023f8d68f6ef3 Image size is always unsigned --- 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) {