diff options
Diffstat (limited to 'src/kernel/qjpegio.cpp')
-rw-r--r-- | src/kernel/qjpegio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/qjpegio.cpp b/src/kernel/qjpegio.cpp index 153a3cee7..a6503fcba 100644 --- a/src/kernel/qjpegio.cpp +++ b/src/kernel/qjpegio.cpp @@ -80,7 +80,7 @@ void my_error_exit (j_common_ptr cinfo) my_error_mgr* myerr = (my_error_mgr*) cinfo->err; char buffer[JMSG_LENGTH_MAX]; (*cinfo->err->format_message)(cinfo, buffer); - tqWarning(buffer); + tqWarning("%s", buffer); longjmp(myerr->setjmp_buffer, 1); } |