I have a problem in this function, on the red line:
Here's the declaration of DivTbl:Code:void CreateDivTable()
{
DivTbl[0] = 0x7fffffff;
DivTbl[1] = 0x7fffffff;
DivTbl[2] = 0x7fffffff;
for( int i = 3; i < 10240; i++ )
DivTbl[i] = (int) ( float(0x100000000 )/ i);
for (int y=0; y<32; y++)
for (int x=0; x<32; x++)
RandomMap[y][x] = rand()%1024;
}
The error states that:Code:_EXTORNOT int DivTbl[10240];
"integer constant is too large for 'long' type" on the red line, but changing the variable type (To something larger, like long long) has no effect.
Help plz?