projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
854d802
)
Image size is always unsigned
author
Antonio Ospite <ospite@studenti.unina.it>
Sat, 7 Jan 2012 00:45:20 +0000
(
01:45
+0100)
committer
Antonio Ospite <ospite@studenti.unina.it>
Sat, 7 Jan 2012 00:59:32 +0000
(
01:59
+0100)
picoproj.c
patch
|
blob
|
history
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) {