Commit 288983a3 authored by Sébastien Villemot's avatar Sébastien Villemot

Fix build failure with -Werror=format-security

See Debian bug #646258 (http://bugs.debian.org/646258) and
http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags for details.
(manually cherry picked from commit d4b4060d)
parent 236aac5c
......@@ -26,7 +26,7 @@ void SylvException::printMessage() const
char mes[1500];
mes[0] = '\0';
printMessage(mes, 1499);
printf(mes);
puts(mes);
}
int SylvException::printMessage(char* str, int maxlen) const
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment