Commit d4ad9823 authored by John van Groningen's avatar John van Groningen

fix bug in function getCommonFileInfoC on 64 bit platforms

parent ff21bb37
......@@ -101,7 +101,7 @@ void getCommonFileInfoC(long 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