Re: [Qemu-devel] [PATCH] qga: cast to int for DWORD type

2013-02-20 Thread mdroth
On Mon, Jan 28, 2013 at 12:49:09PM +0800, Lei Li wrote: > This patch fixes a compiler warning when cross-build: > > qga/service-win32.c: In function 'printf_win_error': > qga/service-win32.c:32:5: warning: format '%d' expects argument of type 'int', > but argument 3 has t

[Qemu-devel] [PATCH] qga: cast to int for DWORD type

2013-01-27 Thread Lei Li
This patch fixes a compiler warning when cross-build: qga/service-win32.c: In function 'printf_win_error': qga/service-win32.c:32:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD' [-Wformat] Signed-off-by: Lei Li --- qga/service-wi