diff options
author | David Cole <david.cole@kitware.com> | 2012-12-03 18:16:35 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-12-03 18:16:35 (GMT) |
commit | 0729ad476c94e2e8918e5fa9718a9173f8199e02 (patch) | |
tree | 2ea53e38c7c4d31d42a40a5ef17de6acbdcfb206 /Source/CPack | |
parent | 85baac1503c638756211ba07c4c25128e6d3d845 (diff) | |
download | CMake-0729ad476c94e2e8918e5fa9718a9173f8199e02.zip CMake-0729ad476c94e2e8918e5fa9718a9173f8199e02.tar.gz CMake-0729ad476c94e2e8918e5fa9718a9173f8199e02.tar.bz2 |
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)
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/WiX/cmCPackWIXGenerator.cxx | 4 |
1 files 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<char*>(tmp)); RpcStringFree(&tmp); |