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:
@@ -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
|
||||
|
||||
@@ -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 ) )
|
||||
|
||||
Reference in New Issue
Block a user