Fixed 64-bit build warning

This commit is contained in:
Sam Lantinga 2017-09-08 15:08:03 -07:00
parent 4657d9f33c
commit 1b2492ed8a
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ extern void qsortG(void *base, size_t nmemb, size_t size,
int (*compare)(const void *, const void *)) {
if (nmemb<=1) return;
if (((int)base|size)&(WORD_BYTES-1))
if (((size_t)base|size)&(WORD_BYTES-1))
qsort_nonaligned(base,nmemb,size,compare);
else if (size!=WORD_BYTES)
qsort_aligned(base,nmemb,size,compare);