diff options
author | johnvg | 2013-10-24 14:02:25 +0000 |
---|---|---|
committer | johnvg | 2013-10-24 14:02:25 +0000 |
commit | 2599b28b34b6d6c2ba48840e97b77a36970dbc10 (patch) | |
tree | 919810e1ef8851e1d9cf0734fe6eddff3e71e9da /main | |
parent | don't accept instance members defined using :== (diff) |
fix bug in function getCommonFileInfoC on 64 bit platforms
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2308 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'main')
-rw-r--r-- | main/Unix/cDirectory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/Unix/cDirectory.c b/main/Unix/cDirectory.c index ccda618..09b41bc 100644 --- a/main/Unix/cDirectory.c +++ b/main/Unix/cDirectory.c @@ -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; |