fix some compile issue on some 64bit compilers

This commit is contained in:
erwin.coumans 2010-02-28 22:21:07 +00:00
parent 9acb3d1805
commit c517f14dd4

View File

@ -262,7 +262,7 @@ static void* localBufMalloc(int size)
if((sLocalBufUsed + size16) > LOCAL_BUF_SIZE)
{ // reset
spLocalBufCurr = sLocalMemBuf;
while((int)spLocalBufCurr & 0x0F) spLocalBufCurr++; // align to 16 bytes
while((long)spLocalBufCurr & 0x0F) spLocalBufCurr++; // align to 16 bytes
sLocalBufUsed = 0;
}
void* ret = spLocalBufCurr;