Simple pass over the codebase to standardize the platform types.

This commit is contained in:
cpusci 2013-08-04 16:26:01 -05:00
parent c75d6feb20
commit 4c35fd37af
189 changed files with 824 additions and 824 deletions

View file

@ -859,7 +859,7 @@ struct CacheEntry {
};
// object list sort methods: want list in reverse
static int QSORT_CALLBACK minSizeSort(const void * p1, const void * p2)
static S32 QSORT_CALLBACK minSizeSort(const void * p1, const void * p2)
{
const CacheEntry * entry1 = (const CacheEntry *)p1;
const CacheEntry * entry2 = (const CacheEntry *)p2;
@ -867,7 +867,7 @@ static int QSORT_CALLBACK minSizeSort(const void * p1, const void * p2)
return(entry2->mFileObject->getSize() - entry1->mFileObject->getSize());
}
static int QSORT_CALLBACK maxSizeSort(const void * p1, const void * p2)
static S32 QSORT_CALLBACK maxSizeSort(const void * p1, const void * p2)
{
const CacheEntry * entry1 = (const CacheEntry *)p1;
const CacheEntry * entry2 = (const CacheEntry *)p2;
@ -875,7 +875,7 @@ static int QSORT_CALLBACK maxSizeSort(const void * p1, const void * p2)
return(entry1->mFileObject->getSize() - entry2->mFileObject->getSize());
}
static int QSORT_CALLBACK lastCreatedSort(const void * p1, const void * p2)
static S32 QSORT_CALLBACK lastCreatedSort(const void * p1, const void * p2)
{
const CacheEntry * entry1 = (const CacheEntry *)p1;
const CacheEntry * entry2 = (const CacheEntry *)p2;
@ -899,7 +899,7 @@ static int QSORT_CALLBACK lastCreatedSort(const void * p1, const void * p2)
return(Platform::compareFileTimes(create[1], create[0]));
}
static int QSORT_CALLBACK lastModifiedSort(const void * p1, const void * p2)
static S32 QSORT_CALLBACK lastModifiedSort(const void * p1, const void * p2)
{
const CacheEntry * entry1 = (const CacheEntry *)p1;
const CacheEntry * entry2 = (const CacheEntry *)p2;
@ -1051,7 +1051,7 @@ U32 SceneLighting::calcMissionCRC()
// of U32's, and so the result will be different on big/little endian hardware.
// To fix this, swap endians on the CRC's in the vector. This must be done
// _after_ the qsort.
for( int i = 0; i < crc.size(); i++ )
for( S32 i = 0; i < crc.size(); i++ )
crc[i] = endianSwap( crc[i] );
#endif