win32: use wcslen() return type

Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=762202
This commit is contained in:
Marc-André Lureau 2016-02-17 17:52:31 +01:00
parent a1bcd1e45a
commit 5be8cab966

View File

@ -192,7 +192,7 @@ g_win32_error_message (gint error)
{
gchar *retval;
wchar_t *msg = NULL;
int nchars;
size_t nchars;
FormatMessageW (FORMAT_MESSAGE_ALLOCATE_BUFFER
|FORMAT_MESSAGE_IGNORE_INSERTS