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

@ -819,7 +819,7 @@ U32 greatestCommonDivisor( U32 u, U32 v )
{
// http://en.wikipedia.org/wiki/Binary_GCD_algorithm
int shift;
S32 shift;
/* GCD(0,x) := x */
if (u == 0 || v == 0)
@ -845,7 +845,7 @@ U32 greatestCommonDivisor( U32 u, U32 v )
if (u < v) {
v -= u;
} else {
unsigned int diff = u - v;
U32 diff = u - v;
u = v;
v = diff;
}
@ -1086,7 +1086,7 @@ struct QuadSortPoint
};
// Used by sortQuadWindingOrder.
int QSORT_CALLBACK cmpAngleAscending( const void *a, const void *b )
S32 QSORT_CALLBACK cmpAngleAscending( const void *a, const void *b )
{
const QuadSortPoint *p0 = (const QuadSortPoint*)a;
const QuadSortPoint *p1 = (const QuadSortPoint*)b;
@ -1102,7 +1102,7 @@ int QSORT_CALLBACK cmpAngleAscending( const void *a, const void *b )
}
// Used by sortQuadWindingOrder.
int QSORT_CALLBACK cmpAngleDescending( const void *a, const void *b )
S32 QSORT_CALLBACK cmpAngleDescending( const void *a, const void *b )
{
const QuadSortPoint *p0 = (const QuadSortPoint*)a;
const QuadSortPoint *p1 = (const QuadSortPoint*)b;