Fixed incorrect parameters for memset().

This commit is contained in:
Gunnar Beutner 2013-01-30 20:49:25 +01:00
parent 7b03c77b66
commit b27465feae
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ void Application::ExceptionHandler(void)
#ifndef _WIN32 #ifndef _WIN32
struct sigaction sa; struct sigaction sa;
memset(&sa, sizeof(sa), 0); memset(&sa, 0, sizeof(sa));
sa.sa_handler = SIG_DFL; sa.sa_handler = SIG_DFL;
sigaction(SIGABRT, &sa, NULL); sigaction(SIGABRT, &sa, NULL);
#endif /* _WIN32 */ #endif /* _WIN32 */