# HG changeset patch
# User Adrian Buehlmann <[email protected]>
# Date 1242339729 -7200
# Node ID c2cdbccd4f8eb5b65ca86bc03677bf7b051034ab
# Parent 1f359bf7e3d9b982b1ef185f41895037dba2fd59
shellext: use const char* in reinterpret_cast
This was not a bug. The new version is just a bit more explicit.
diff --git a/win32/shellext/TortoiseUtils.cpp b/win32/shellext/TortoiseUtils.cpp
--- a/win32/shellext/TortoiseUtils.cpp
+++ b/win32/shellext/TortoiseUtils.cpp
@@ -108,7 +108,7 @@ int GetRegistryConfig(const std::string&
if (rv != ERROR_SUCCESS)
return 0;
- res = reinterpret_cast<char*>(&Data);
+ res = reinterpret_cast<const char*>(&Data);
return 1;
}
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop