aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/unicode-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/unicode-utils.h')
-rw-r--r--wsutil/unicode-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wsutil/unicode-utils.h b/wsutil/unicode-utils.h
index 6f23de4909..2674a6ca8f 100644
--- a/wsutil/unicode-utils.h
+++ b/wsutil/unicode-utils.h
@@ -59,7 +59,8 @@ wchar_t * utf_8to16(const char *utf8str);
* @param fmt A standard g_printf() format string
*/
WS_DLL_PUBLIC
-void utf_8to16_snprintf(TCHAR *utf16buf, gint utf16buf_len, const gchar* fmt, ...);
+void utf_8to16_snprintf(TCHAR *utf16buf, gint utf16buf_len, const gchar* fmt,
+ ...) G_GNUC_PRINTF(3, 4);
/** Given a UTF-16 string, convert it to UTF-8. This is meant to be used
* to convert between GTK+ 2.x (UTF-8) to Windows (UTF-16).