aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/files.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon/files.c')
-rwxr-xr-xcode/qcommon/files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/files.c b/code/qcommon/files.c
index 0e21165..c0f990b 100755
--- a/code/qcommon/files.c
+++ b/code/qcommon/files.c
@@ -2503,7 +2503,7 @@ static void FS_AddGameDirectory( const char *path, const char *dir ) {
sorted[i] = pakfiles[i];
}
- qsort( sorted, numfiles, 4, paksort );
+ qsort( sorted, numfiles, sizeof(char*), paksort );
for ( i = 0 ; i < numfiles ; i++ ) {
pakfile = FS_BuildOSPath( path, dir, sorted[i] );