Eric Pouech : mciavi32: Use I width modifier instead of casting to DWORD.

Alexandre Julliard julliard at winehq.org
Wed Apr 6 16:09:00 CDT 2022


Module: wine
Branch: master
Commit: 2f2e3ea50b638f482018c1eddcaa8e44efe079c6
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2f2e3ea50b638f482018c1eddcaa8e44efe079c6

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Wed Apr  6 08:35:03 2022 +0200

mciavi32: Use I width modifier instead of casting to DWORD.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mciavi32/mciavi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mciavi32/mciavi.c b/dlls/mciavi32/mciavi.c
index 64a1a0fbd7d..dcd07032fec 100644
--- a/dlls/mciavi32/mciavi.c
+++ b/dlls/mciavi32/mciavi.c
@@ -1063,11 +1063,11 @@ LRESULT CALLBACK MCIAVI_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
     case MCI_SAVE:
     case MCI_UNDO:
     case MCI_UNFREEZE:
-	TRACE("Unsupported function [0x%x] flags=%08lx\n", wMsg, (DWORD)dwParam1);
+	TRACE("Unsupported function [0x%x] flags=%08Ix\n", wMsg, dwParam1);
 	return MCIERR_UNSUPPORTED_FUNCTION;
     case MCI_SPIN:
     case MCI_ESCAPE:
-	WARN("Unsupported command [0x%x] %08lx\n", wMsg, (DWORD)dwParam1);
+	WARN("Unsupported command [0x%x] %08Ix\n", wMsg, dwParam1);
 	break;
     case MCI_OPEN:
     case MCI_CLOSE:




More information about the wine-cvs mailing list