diff --git a/harbour/ChangeLog b/harbour/ChangeLog index d58d0d4ef1..03b819ef43 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -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) diff --git a/harbour/contrib/hbmlzo/core.c b/harbour/contrib/hbmlzo/core.c index 80c721b251..0a566610f0 100644 --- a/harbour/contrib/hbmlzo/core.c +++ b/harbour/contrib/hbmlzo/core.c @@ -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; }