summaryrefslogtreecommitdiff
path: root/glib/glib/gdate.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/glib/gdate.c')
-rw-r--r--glib/glib/gdate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/glib/glib/gdate.c b/glib/glib/gdate.c
index 1978cf7..20e6c4a 100644
--- a/glib/glib/gdate.c
+++ b/glib/glib/gdate.c
@@ -2439,6 +2439,9 @@ win32_strftime_helper (const GDate *d,
*
* Returns: number of characters written to the buffer, or 0 the buffer was too small
*/
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+
gsize
g_date_strftime (gchar *s,
gsize slen,
@@ -2549,3 +2552,5 @@ g_date_strftime (gchar *s,
return retval;
#endif
}
+
+#pragma GCC diagnostic pop