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

oldstable
Michael Stefaniuc 2009-01-10 02:45:33 +01:00 committed by Alexandre Julliard
parent 7488d8863f
commit 3d5de18889
1 changed files with 1 additions and 1 deletions

View File

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