msg711.acm: Win64 printf format warning fixes.

Michael Stefaniuc mstefani at redhat.de
Wed Oct 4 17:59:28 CDT 2006


---
 dlls/msg711.acm/Makefile.in |    1 -
 dlls/msg711.acm/msg711.c    |   10 +++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/dlls/msg711.acm/Makefile.in b/dlls/msg711.acm/Makefile.in
index e5cacad..0579d37 100644
--- a/dlls/msg711.acm/Makefile.in
+++ b/dlls/msg711.acm/Makefile.in
@@ -4,7 +4,6 @@ SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 MODULE    = msg711.acm
 IMPORTS   = winmm user32 kernel32
-EXTRADEFS = -DWINE_NO_LONG_AS_INT
 
 C_SRCS = msg711.c
 
diff --git a/dlls/msg711.acm/msg711.c b/dlls/msg711.acm/msg711.c
index 1c24781..90080f9 100644
--- a/dlls/msg711.acm/msg711.c
+++ b/dlls/msg711.acm/msg711.c
@@ -708,7 +708,7 @@ static	LRESULT	G711_FormatTagDetails(PAC
 	}
 	break;
     default:
-	WARN("Unsupported query %08lx\n", dwQuery);
+	WARN("Unsupported query %08x\n", dwQuery);
 	return MMSYSERR_NOTSUPPORTED;
     }
 
@@ -779,12 +779,12 @@ static	LRESULT	G711_FormatDetails(PACMFO
             afd->pwfx->cbSize = 0;
 	    break;
 	default:
-	    WARN("Unsupported tag %08lx\n", afd->dwFormatTag);
+            WARN("Unsupported tag %08x\n", afd->dwFormatTag);
 	    return MMSYSERR_INVALPARAM;
 	}
 	break;
     default:
-	WARN("Unsupported query %08lx\n", dwQuery);
+	WARN("Unsupported query %08x\n", dwQuery);
 	return MMSYSERR_NOTSUPPORTED;
     }
     afd->fdwSupport = ACMDRIVERDETAILS_SUPPORTF_CODEC;
@@ -1053,7 +1053,7 @@ static	LRESULT G711_StreamSize(PACMDRVST
 	}
 	break;
     default:
-	WARN("Unsupported query %08lx\n", adss->fdwSize);
+	WARN("Unsupported query %08x\n", adss->fdwSize);
 	return MMSYSERR_NOTSUPPORTED;
     }
     FIXME("\n");
@@ -1075,7 +1075,7 @@ static LRESULT G711_StreamConvert(PACMDR
 	  ACM_STREAMCONVERTF_END|
 	  ACM_STREAMCONVERTF_START))
     {
-	FIXME("Unsupported fdwConvert (%08lx), ignoring it\n", adsh->fdwConvert);
+	FIXME("Unsupported fdwConvert (%08x), ignoring it\n", adsh->fdwConvert);
     }
     /* ACM_STREAMCONVERTF_BLOCKALIGN
      *	currently all conversions are block aligned, so do nothing for this flag
-- 
1.4.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061005/74b7480e/attachment.pgp


More information about the wine-patches mailing list