From 46a52a75fcea8d6ee29a885d7f8102f7a7912b44 Mon Sep 17 00:00:00 2001 Message-Id: <46a52a75fcea8d6ee29a885d7f8102f7a7912b44.1367947969.git.minovotn@redhat.com> In-Reply-To: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com> References: <707b9b97153063374d2530e72c49b1499fc21af9.1367947969.git.minovotn@redhat.com> From: Michal Novotny Date: Tue, 7 May 2013 18:36:59 +0200 Subject: [PATCH 022/114] Revert "qga: cast to int for DWORD type" This reverts commit 14f8c1535093294ebad72c80fb11ed874f5b560b. Reverting as asked by Laszlo in message <51892739.2030807@redhat.com> because of the ordering issue (most likely) related to supersed testing. Signed-off-by: Michal Novotny --- qga/service-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qga/service-win32.c b/qga/service-win32.c index 843398a..0905456 100644 --- a/qga/service-win32.c +++ b/qga/service-win32.c @@ -29,7 +29,7 @@ static int printf_win_error(const char *text) MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (char *)&message, 0, NULL); - n = printf("%s. (Error: %d) %s", text, (int)err, message); + n = printf("%s. (Error: %d) %s", text, err, message); LocalFree(message); return n; -- 1.7.11.7