mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
Dictzip: Fix warning
This commit is contained in:
parent
4120213ee8
commit
14b7f73833
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue