msacm32: Avoid using the long type.
Michael Stefaniuc
mstefani at redhat.de
Fri May 21 13:34:53 CDT 2010
---
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));
--
1.6.6.1
More information about the wine-patches
mailing list