From 14b7f738338141162dd768fa44a97b8e342b182f Mon Sep 17 00:00:00 2001 From: Abs62 Date: Sun, 11 May 2014 01:14:08 +0400 Subject: [PATCH] Dictzip: Fix warning --- dictzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictzip.c b/dictzip.c index b692d6ce..2c00be3e 100644 --- a/dictzip.c +++ b/dictzip.c @@ -741,7 +741,7 @@ char *dict_data_read_ ( readed = 0; if( pos != INVALID_SET_FILE_POINTER || GetLastError() != NO_ERROR ) ReadFile( h->fd, outBuffer, h->chunks[ i ], &readed, 0 ); - if( h->chunks[ i ] != readed ) + if( h->chunks[ i ] != (int)readed ) #else if ( fseek( h->fd, h->offsets[ i ], SEEK_SET ) != 0 || fread( outBuffer, h->chunks[ i ], 1, h->fd ) != 1 )