Skip to content

Commit 5cede86

Browse files
author
minggo
committed
Merge pull request cocos2d#356 from minggo/master
fixe cocos2d#580
2 parents d0ae760 + 6301cb0 commit 5cede86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocos2dx/actions/CCActionTiledGrid.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ namespace cocos2d
296296

297297
void CCShuffleTiles::shuffle(int *pArray, unsigned int nLen)
298298
{
299-
unsigned int i;
299+
int i;
300300
for( i = nLen - 1; i >= 0; i-- )
301301
{
302302
unsigned int j = rand() % (i+1);
@@ -667,7 +667,7 @@ namespace cocos2d
667667

668668
void CCTurnOffTiles::shuffle(int *pArray, unsigned int nLen)
669669
{
670-
unsigned int i;
670+
int i;
671671
for (i = nLen - 1; i >= 0; i--)
672672
{
673673
unsigned int j = rand() % (i+1);

0 commit comments

Comments
 (0)