Build fix for systems where strsignal() returns a const char *

This commit is contained in:
Gunnar Beutner 2015-11-24 09:20:04 +01:00
parent 7029bb3aea
commit 9705e08ee0
1 changed files with 1 additions and 1 deletions

View File

@ -748,7 +748,7 @@ bool Process::DoEvents(void)
<< "PID " << m_PID << " (" << PrettyPrintArguments(m_Arguments) << ") terminated with exit code " << exitcode;
} else if (WIFSIGNALED(status)) {
int signum = WTERMSIG(status);
char *zsigname = strsignal(signum);
const char *zsigname = strsignal(signum);
String signame = Convert::ToString(signum);