64bit: Fix crash in dtexec

No ANSI prototype for malloc() caused
the returned pointer to be truncated
to 32 bits.
This commit is contained in:
Marcin Cieslak
2012-08-23 16:40:38 +02:00
committed by Jon Trulson
parent d31fc60fbf
commit 98b17d3551
3 changed files with 13 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ static char * get_file_name (
va_list args;
file = malloc(MAXPATHLEN+1);
if (! file) return;
if (! file) return NULL;
Va_start (args, format);