2015-08-01 01:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/vm/asort.c
    * added workaround for bug in 64 bit MinGW builds
This commit is contained in:
Przemysław Czerpak
2015-08-01 01:28:33 +02:00
parent 748cf7e81f
commit f9dd95c243
2 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-08-01 01:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/asort.c
* added workaround for bug in 64 bit MinGW builds
2015-07-31 17:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/asort.c
! fixed missing nStart checking during array items reordering

View File

@@ -280,7 +280,8 @@ static void hb_arraySortStart( PHB_BASEARRAY pBaseArray, PHB_ITEM pBlock,
HB_SIZE * pBuffer, * pDest, * pPos, nPos, nTo;
pBuffer = ( HB_SIZE * ) hb_xgrab( sizeof( HB_SIZE ) * 2 * nCount );
for( nPos = 0; nPos < nCount; ++nPos )
nPos = nCount;
while( nPos-- )
pBuffer[ nPos ] = nStart + nPos;
if( hb_arraySortDO( pBaseArray, pBlock, pBuffer, &pBuffer[ nCount ], nCount ) )