diff options
Diffstat (limited to 'src/win32.cpp')
-rw-r--r-- | src/win32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32.cpp b/src/win32.cpp index 423581467..b41204a9d 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -636,7 +636,7 @@ static inline DIR *dir_calloc(void) DIR *d; if (_global_dir_is_in_use) { - CallocT(&d, 1); + d = CallocT<DIR>(1); } else { _global_dir_is_in_use = true; d = &_global_dir; |