diff options
Diffstat (limited to 'Source')
-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); |