From b6b7069f2f6571883c13480d0851ee743cb8b457 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 10 Nov 2010 01:18:28 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/devicetopology.idl b/include/devicetopology.idl index 4dc182b2567..18bfa50477c 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_")