msvfw32: Rename macro parameter to avoid string coincidence

Andrew Talbot andrew.talbot at
Sun Aug 3 12:20:28 CDT 2008

The letter "x" appears inside quotes, within some of the format specifiers
("0x%08lx"), so this patch renames the macro's parameter as "y".

-- Andy.
    msvfw32: Rename macro parameter to avoid string coincidence.

diff --git a/dlls/msvfw32/msvideo_main.c b/dlls/msvfw32/msvideo_main.c
index baea47b..064eac2 100644
--- a/dlls/msvfw32/msvideo_main.c
+++ b/dlls/msvfw32/msvideo_main.c
@@ -1026,9 +1026,9 @@ void VFWAPI ICCompressorFree(PCOMPVARS pc)
 LRESULT MSVIDEO_SendMessage(WINE_HIC* whic, UINT msg, DWORD_PTR lParam1, DWORD_PTR lParam2)
     LRESULT     ret;
-#define XX(x) case x: TRACE("(%p,"#x",0x%08lx,0x%08lx)\n",whic,lParam1,lParam2); break;
+#define XX(y) case y: TRACE("(%p,"#y",0x%08lx,0x%08lx)\n",whic,lParam1,lParam2); break
     switch (msg) {
         /* DRV_* */

More information about the wine-patches mailing list