diff --git a/dumb/src/it/itread.c b/dumb/src/it/itread.c index 8e6b933e4..1f29ad4d9 100644 --- a/dumb/src/it/itread.c +++ b/dumb/src/it/itread.c @@ -91,7 +91,7 @@ static DUMBFILE_SYSTEM mem_dfs = { static int it_seek(dumbfile_mem_status * s, int32 offset) { - if ( offset > s->size ) + if ( (unsigned)offset > s->size ) return -1; s->offset = offset;