qga: use size_t for wcslen() return value
Reported-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
This commit is contained in:
parent
02506e2d54
commit
6771197dff
@ -1303,7 +1303,8 @@ get_net_error_message(gint error)
|
||||
HMODULE module = NULL;
|
||||
gchar *retval = NULL;
|
||||
wchar_t *msg = NULL;
|
||||
int flags, nchars;
|
||||
int flags;
|
||||
size_t nchars;
|
||||
|
||||
flags = FORMAT_MESSAGE_ALLOCATE_BUFFER |
|
||||
FORMAT_MESSAGE_IGNORE_INSERTS |
|
||||
|
Loading…
Reference in New Issue
Block a user