summaryrefslogtreecommitdiff
path: root/source/sys_unix.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-04-02 23:03:09 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-04-02 23:03:09 +0000
commit7ec50f12252b4dfb97f3249ccf05a771b98785c1 (patch)
tree279e4e8bd7b940368331a43869c165de9637ae99 /source/sys_unix.c
parent80e48417564f1ce50a39a7c552ad95e651362c1f (diff)
Use size_t instead of int where possible.
Added initial support for Win64 port.
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r--source/sys_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c
index 8b4e96c..b05993f 100644
--- a/source/sys_unix.c
+++ b/source/sys_unix.c
@@ -1024,7 +1024,7 @@ static void Sys_ListFilteredFiles( void **listedFiles,
const char *path,
const char *filter,
int flags,
- int length,
+ size_t length,
int depth )
{
struct dirent *findInfo;
@@ -1107,7 +1107,7 @@ Sys_ListFiles
void **Sys_ListFiles( const char *path,
const char *extension,
int flags,
- int length,
+ size_t length,
int *numFiles )
{
struct dirent *findInfo;