projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Image size is always unsigned
[libam7xxx.git]
/
picoproj.c
diff --git
a/picoproj.c
b/picoproj.c
index
7e7cdd5
..
32f90ea
100644
(file)
--- 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 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) {
while ((opt = getopt(argc, argv, "f:F:W:H:h")) != -1) {
switch (opt) {