Commit 51fa0a05 authored by John van Groningen's avatar John van Groningen
Browse files

fix bug in function getCommonFileInfoC on 64 bit platforms

parent 1690d77c
......@@ -103,7 +103,7 @@ void getCommonFileInfoC(int also_get_file_name,
struct tm *pModificationTime;
int mask;
static int null = 0;
static void *null = NULL; /* int 0 with the size of a Clean INT */
*pFileName = also_get_file_name ? (CleanString) gFileName : (CleanString) &null;
*pFileSizeLow = gFileStat.st_size;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment