Michael Stefaniuc : include: Change to ULONG in dmerror. h for Win64 compatibility.

Alexandre Julliard julliard at winehq.org
Sat Jan 10 11:16:35 CST 2009


Module: wine
Branch: master
Commit: 3d5de188893888c749ecce9688840e5d227d26fb
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3d5de188893888c749ecce9688840e5d227d26fb

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Sat Jan 10 02:45:33 2009 +0100

include: Change to ULONG in dmerror.h for Win64 compatibility.

---

 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)))




More information about the wine-cvs mailing list