From 75fde14ffc9310ecbd1678066062a552a7636c1e Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 29 Dec 2009 23:16:17 +0100 Subject: [PATCH] winetest: Remove superfluous WPARAM casts. --- programs/winetest/gui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/winetest/gui.c b/programs/winetest/gui.c index a2b1e7f5db2..cb59ac26151 100644 --- a/programs/winetest/gui.c +++ b/programs/winetest/gui.c @@ -108,7 +108,7 @@ guiProgress (va_list ap) else progressScale = 1; pb = GetDlgItem (dialog, IDC_PB0 + progressGroup * 2); SendMessage (pb, PBM_SETRANGE, 0, MAKELPARAM (0, max)); - SendMessage (pb, PBM_SETSTEP, (WPARAM)1, 0); + SendMessage (pb, PBM_SETSTEP, 1, 0); return 0; } @@ -134,7 +134,7 @@ guiStep (va_list ap) progressCurr++; SetDlgItemText (dialog, pgID, str); SendDlgItemMessage (dialog, pgID+1, PBM_SETPOS, - (WPARAM)(progressScale * progressCurr), 0); + progressScale * progressCurr, 0); heap_free (str); return 0; } @@ -163,7 +163,7 @@ guiDelta (va_list ap) progressCurr += inc; SetDlgItemText (dialog, pgID, str); SendDlgItemMessage (dialog, pgID+1, PBM_SETPOS, - (WPARAM)(progressScale * progressCurr), 0); + progressScale * progressCurr, 0); heap_free (str); return 0; }