commit db728f10cdb07bf50f8952ad9a3372db974cad86 Author: Hib Eris Date: Tue Dec 23 12:56:15 2008 +0100 Fix compile warning on string literal format diff --git a/test/pdf-inspector.cc b/test/pdf-inspector.cc index 4a8c2c1..aba4a71 100644 --- a/test/pdf-inspector.cc +++ b/test/pdf-inspector.cc @@ -306,7 +306,7 @@ PdfInspector::load(const char *file_name) void PdfInspector::error_dialog (const char *error_message) { - g_warning (error_message); + g_warning ("%s", error_message); } void