winemp3.acm: Avoid using the long type.

Michael Stefaniuc mstefani at redhat.de
Fri May 21 05:13:36 CDT 2010


---
 dlls/winemp3.acm/mpegl3.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winemp3.acm/mpegl3.c b/dlls/winemp3.acm/mpegl3.c
index 6074501..e449675 100644
--- a/dlls/winemp3.acm/mpegl3.c
+++ b/dlls/winemp3.acm/mpegl3.c
@@ -191,7 +191,7 @@ static void mp3_horse(PACMDRVSTREAMINSTANCE adsi,
 
         if (ret == MPG123_NEW_FORMAT)
         {
-            long rate;
+            LONG_PTR rate;
             int channels, enc;
             mpg123_getformat(amd->mh, &rate, &channels, &enc);
             TRACE("New format: %li Hz, %i channels, encoding value %i\n", rate, channels, enc);
@@ -298,7 +298,7 @@ typedef struct tagAcmMpeg3Data
     OSStatus lastError;
 } AcmMpeg3Data;
 
-static inline const char* wine_dbgstr_fourcc(unsigned long fourcc)
+static inline const char* wine_dbgstr_fourcc(ULONG fourcc)
 {
     char buf[4] = { (char) (fourcc >> 24), (char) (fourcc >> 16),
                     (char) (fourcc >> 8),  (char) fourcc };
-- 
1.6.6.1



More information about the wine-patches mailing list