[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] ui: fix format specfier in vnc to avoid brea
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v2] ui: fix format specfier in vnc to avoid break in build. |
Date: |
Tue, 10 Jan 2017 13:31:59 +0100 |
On Di, 2017-01-10 at 11:19 +0200, Rami Rosen wrote:
> When building qemu after setting _VNC_DEBUG to 1 (see ui/vnc.h),
> we get the following error and the build breaks:
> ...
> ui/vnc.c: In function ‘vnc_client_io_error’:
> ui/vnc.c:1262:13: error: format ‘%d’ expects argument of type ‘int’,
> but
> VNC_DEBUG("Closing down client sock: ret %d (%s)\n",
> ^
> cc1: all warnings being treated as errors
> make: *** [ui/vnc.o] Error 1
added to ui patch queue.
thanks,
Gerd