Michael Stefaniuc : include: Avoid a multi-character character constant.
Alexandre Julliard
julliard at winehq.org
Wed Nov 10 11:09:40 CST 2010
Module: wine
Branch: master
Commit: b6b7069f2f6571883c13480d0851ee743cb8b457
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6b7069f2f6571883c13480d0851ee743cb8b457
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Nov 10 01:18:28 2010 +0100
include: Avoid a multi-character character constant.
Multi-character character constants aren't portable as their behaviour
is compiler dependent according to the C standard (sparse).
---
include/devicetopology.idl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/devicetopology.idl b/include/devicetopology.idl
index 4dc182b..18bfa50 100644
--- a/include/devicetopology.idl
+++ b/include/devicetopology.idl
@@ -35,7 +35,7 @@ cpp_quote("#ifndef E_NOTFOUND")
cpp_quote("#define E_NOTFOUND HRESULT_FROM_WIN32(ERROR_NOT_FOUND)")
cpp_quote("#endif")
-cpp_quote("#define DEVTOPO_HARDWARE_INITIATED_EVENTCONTEXT 'draH'")
+cpp_quote("#define DEVTOPO_HARDWARE_INITIATED_EVENTCONTEXT 0x64726148 /* 'draH' */")
cpp_quote("DEFINE_GUID(EVENTCONTEXT_VOLUMESLIDER, 0xe2c2e9de, 0x09b1, 0x4b04,0x84,0xe5, 0x07, 0x93, 0x12, 0x25, 0xee, 0x04);")
cpp_quote("#define _IKsControl_")
More information about the wine-cvs
mailing list