# HG changeset patch
# User Adrian Buehlmann <[email protected]>
# Date 1242342369 -7200
# Node ID 740b548daa935b593b66f7a09f9e081d809d10ea
# Parent 1907f26c41326d6d54ac096976432565f5344d96
shellext: eliminate inconsistency in size definition
diff --git a/win32/shellext/TortoiseUtils.cpp b/win32/shellext/TortoiseUtils.cpp
--- a/win32/shellext/TortoiseUtils.cpp
+++ b/win32/shellext/TortoiseUtils.cpp
@@ -100,7 +100,7 @@ int GetRegistryConfig(const std::string&
return 0;
BYTE Data[MAX_PATH] = "";
- DWORD cbData = MAX_PATH * sizeof(char);
+ DWORD cbData = MAX_PATH * sizeof(BYTE);
rv = RegQueryValueExA(
hkey, name.c_str(), 0, 0, Data, &cbData);
------------------------------------------------------------------------------
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