mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +01:00
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:
parent
a1bcd1e45a
commit
5be8cab966
@ -192,7 +192,7 @@ g_win32_error_message (gint error)
|
|||||||
{
|
{
|
||||||
gchar *retval;
|
gchar *retval;
|
||||||
wchar_t *msg = NULL;
|
wchar_t *msg = NULL;
|
||||||
int nchars;
|
size_t nchars;
|
||||||
|
|
||||||
FormatMessageW (FORMAT_MESSAGE_ALLOCATE_BUFFER
|
FormatMessageW (FORMAT_MESSAGE_ALLOCATE_BUFFER
|
||||||
|FORMAT_MESSAGE_IGNORE_INSERTS
|
|FORMAT_MESSAGE_IGNORE_INSERTS
|
||||||
|
Loading…
Reference in New Issue
Block a user