include: Change to ULONG in dmerror.h for Win64 compatibility.
Michael Stefaniuc
mstefani at redhat.de
Fri Jan 9 19:45:33 CST 2009
---
include/dmerror.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/dmerror.h b/include/dmerror.h
index 9784dc0..8db2510 100644
--- a/include/dmerror.h
+++ b/include/dmerror.h
@@ -28,7 +28,7 @@
#ifndef MAKE_HRESULT
#define MAKE_HRESULT(sev,fac,code) \
- ((HRESULT) (((unsigned long)(sev)<<31) | ((unsigned long)(fac)<<16) | ((unsigned long)(code))) )
+ ((HRESULT) (((ULONG)(sev)<<31) | ((ULONG)(fac)<<16) | ((ULONG)(code))) )
#endif
#define MAKE_DMHRESULTSUCCESS(code) MAKE_HRESULT(0, FACILITY_DIRECTMUSIC, (DMUS_ERRBASE + (code)))
--
1.6.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/20090110/29bfe128/attachment.pgp
More information about the wine-patches
mailing list