From 0729ad476c94e2e8918e5fa9718a9173f8199e02 Mon Sep 17 00:00:00 2001 From: David Cole Date: Mon, 3 Dec 2012 13:16:35 -0500 Subject: CPack: Fix dashboard errors (#11575) Use same technique here with UuidToString as already found in cmGlobalVisualStudio7Generator::CreateGUID to avoid using a type that is not defined on older systems... (VS 7.0 and Borland) --- Source/CPack/WiX/cmCPackWIXGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/CPack/WiX/cmCPackWIXGenerator.cxx b/Source/CPack/WiX/cmCPackWIXGenerator.cxx index 6e8c5ea..68ca60e 100644 --- a/Source/CPack/WiX/cmCPackWIXGenerator.cxx +++ b/Source/CPack/WiX/cmCPackWIXGenerator.cxx @@ -539,8 +539,8 @@ std::string cmCPackWIXGenerator::GenerateGUID() UUID guid; UuidCreate(&guid); - RPC_CSTR tmp = 0; - UuidToStringA(&guid, &tmp); + unsigned char *tmp = 0; + UuidToString(&guid, &tmp); std::string result(reinterpret_cast(tmp)); RpcStringFree(&tmp); -- cgit v0.12