summaryrefslogtreecommitdiffstats
path: root/src/file_jpg.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-11-15 12:29:48 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-11-15 12:29:48 +0100
commit5ed8822f2b3cc95bf7f9bda45bf7b57e8a693f6d (patch)
tree69fd55db22dbc9b3d4d7ebc6aba46203a9c82b0e /src/file_jpg.c
parent17040353bc6dc9d3ac701037fe90ce69382fb49f (diff)
Turn off various signed/unsigned comparaison warnings
Diffstat (limited to 'src/file_jpg.c')
-rw-r--r--src/file_jpg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_jpg.c b/src/file_jpg.c
index c192405..fcfafca 100644
--- a/src/file_jpg.c
+++ b/src/file_jpg.c
@@ -1299,7 +1299,7 @@ static void jpg_search_marker(file_recovery_t *file_recovery)
{
FILE* infile=file_recovery->handle;
unsigned char buffer[40*8192];
- int nbytes;
+ size_t nbytes;
uint64_t offset;
unsigned int i;
if(file_recovery->blocksize==0)
@@ -1350,7 +1350,7 @@ static uint64_t jpg_check_structure(file_recovery_t *file_recovery, const unsign
FILE* infile=file_recovery->handle;
unsigned char buffer[40*8192];
uint64_t thumb_offset=0;
- int nbytes;
+ size_t nbytes;
file_recovery->extra=0;
#ifdef HAVE_FSEEKO
if(fseeko(infile, 0, SEEK_SET) < 0)