Quoting marcandre.lur...@redhat.com (2016-02-17 10:47:52) > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > Reported-by: Laszlo Ersek <ler...@redhat.com> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Michael Roth <mdr...@linux.vnet.ibm.com> > --- > qga/commands-win32.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/qga/commands-win32.c b/qga/commands-win32.c > index 7baacc7..e5afc5d 100644 > --- a/qga/commands-win32.c > +++ b/qga/commands-win32.c > @@ -1246,7 +1246,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 | > -- > 2.5.0 >