diff options
-rw-r--r-- | src/common/nullpo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/nullpo.c b/src/common/nullpo.c index 97b206835..d494822fa 100644 --- a/src/common/nullpo.c +++ b/src/common/nullpo.c @@ -43,11 +43,11 @@ void assert_report(const char *file, int line, const char *func, const char *tar ShowError("--- %s --------------------------------------------\n", title); ShowError("%s:%d: '%s' in function `%s'\n", file, line, targetname, func); #ifdef __GNUC__ - size = backtrace (array, 10); - strings = backtrace_symbols (array, size); + size = (int)backtrace(array, 10); + strings = backtrace_symbols(array, size); for (i = 0; i < size; i++) ShowError("%s\n", strings[i]); - free (strings); + free(strings); #endif ShowError("--- end %s ----------------------------------------\n", title); } |