summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-02-07 18:46:11 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2018-02-07 18:46:11 +0100
commit9e2f1a68019919befbb1963277bf4735c53d166e (patch)
tree64da4faef9178d6ee1f640512ed1971cd742621c
parent6282a476ef261f9b320ced44df349da681ed69d0 (diff)
src/file_jpg.c: replace unsigned by unsigned int
-rw-r--r--src/file_jpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_jpg.c b/src/file_jpg.c
index e7da1b5..261be27 100644
--- a/src/file_jpg.c
+++ b/src/file_jpg.c
@@ -1372,7 +1372,7 @@ struct sof_header
unsigned char data[0];
} __attribute__ ((gcc_struct, __packed__));
-static int jpg_check_sof0(const unsigned char *buffer, const unsigned int buffer_size, const unsigned i)
+static int jpg_check_sof0(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int i)
{
const struct sof_header *h=(const struct sof_header *)&buffer[i];
if(i+4 > buffer_size)