Michael Stefaniuc : msacm32: Avoid using the long type.
Alexandre Julliard
julliard at winehq.org
Mon May 24 11:30:48 CDT 2010
Module: wine
Branch: master
Commit: ff2813364a8426a54d268903e6eb95f749ae6a5d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff2813364a8426a54d268903e6eb95f749ae6a5d
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Fri May 21 20:34:53 2010 +0200
msacm32: Avoid using the long type.
---
dlls/msacm32/driver.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msacm32/driver.c b/dlls/msacm32/driver.c
index c02d89f..d0b543c 100644
--- a/dlls/msacm32/driver.c
+++ b/dlls/msacm32/driver.c
@@ -77,8 +77,8 @@ MMRESULT WINAPI acmDriverAddA(PHACMDRIVERID phadid, HINSTANCE hinstModule,
/* A->W translation of name */
if ((fdwAdd & ACM_DRIVERADDF_TYPEMASK) == ACM_DRIVERADDF_NAME) {
- unsigned long len;
-
+ INT len;
+
if (lParam == 0) return MMSYSERR_INVALPARAM;
len = MultiByteToWideChar(CP_ACP, 0, (LPSTR)lParam, -1, NULL, 0);
driverW = HeapAlloc(MSACM_hHeap, 0, len * sizeof(WCHAR));
More information about the wine-cvs
mailing list