2016-01-09 20:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbbz2io/bz2io.c
    * pacified warning
This commit is contained in:
Przemysław Czerpak
2016-01-09 20:54:14 +01:00
parent 332fb10134
commit e94f96cc9e
2 changed files with 10 additions and 0 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2016-01-09 20:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbbz2io/bz2io.c
* pacified warning
2016-01-09 20:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbbz2/core.c
* contrib/hbbz2/hbbz2.hbp

View File

@@ -447,8 +447,14 @@ static HB_SIZE s_fileRead( PHB_FILE pFile, void * buffer, HB_SIZE nSize,
}
}
if( pFile->bz2.total_out_lo32 != 0 || pFile->bz2.total_out_hi32 != 0 )
{
#if HB_SIZE_MAX <= UINT_MAX
nResult = ( HB_SIZE ) pFile->bz2.total_out_lo32;
#else
nResult = ( ( HB_SIZE ) pFile->bz2.total_out_hi32 << 32 ) |
( HB_SIZE ) pFile->bz2.total_out_lo32;
#endif
}
pFile->seek_pos += hb_fileResult( nResult );
}
else