2011-07-16 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmlzo/core.c
! fixed to use hb_storns() instead of hb_storni() to make win64
builds happy
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2011-07-16 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbmlzo/core.c
|
||||
! fixed to use hb_storns() instead of hb_storni() to make win64
|
||||
builds happy
|
||||
|
||||
2011-07-16 14:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/hbmlzo/core.c
|
||||
! fixed uninitialized variable in rare error case (signaled by msvc warning)
|
||||
|
||||
@@ -147,7 +147,7 @@ HB_FUNC( HB_LZO1X_1_COMPRESS )
|
||||
|
||||
if( r == LZO_E_OK )
|
||||
{
|
||||
hb_storni( dst_len, 2 );
|
||||
hb_storns( dst_len, 2 );
|
||||
|
||||
if( dst_len >= src_len )
|
||||
hb_storni( LZO_E_NOT_COMPRESSIBLE, 3 ); /* incompressible data */
|
||||
@@ -195,7 +195,7 @@ HB_FUNC( HB_LZO1X_DECOMPRESS )
|
||||
|
||||
if( r == LZO_E_OK )
|
||||
{
|
||||
hb_storni( dst_len, 2 );
|
||||
hb_storns( dst_len, 2 );
|
||||
hb_retclen_buffer( ( char * ) dst, dst_len );
|
||||
return;
|
||||
}
|
||||
@@ -230,7 +230,7 @@ HB_FUNC( HB_LZO1X_DECOMPRESS_SAFE )
|
||||
|
||||
if( r == LZO_E_OK )
|
||||
{
|
||||
hb_storni( dst_len, 2 );
|
||||
hb_storns( dst_len, 2 );
|
||||
hb_retclen_buffer( ( char * ) dst, dst_len );
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user