summaryrefslogtreecommitdiffstats
path: root/src/misc/util/utilMem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/util/utilMem.c')
-rw-r--r--src/misc/util/utilMem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc/util/utilMem.c b/src/misc/util/utilMem.c
index 0bce119b..302d9008 100644
--- a/src/misc/util/utilMem.c
+++ b/src/misc/util/utilMem.c
@@ -153,7 +153,7 @@ static void Vec_MemSort( Vec_Mem_t * p, int (*Vec_MemSortCompare)() )
{
if ( p->nSize < 2 )
return;
- qsort( (void *)p->pArray, p->nSize, sizeof(void *),
+ qsort( (void *)p->pArray, (size_t)p->nSize, sizeof(void *),
(int (*)(const void *, const void *)) Vec_MemSortCompare );
}