Fixed that Measure=Registry crashes starting from r763.

This commit is contained in:
Birunthan Mohanathas 2011-02-23 17:38:58 +00:00
parent 3d6615522b
commit f19e76e6ec

View File

@ -65,7 +65,7 @@ bool CMeasureRegistry::Update()
m_RegValueName.c_str(), m_RegValueName.c_str(),
NULL, NULL,
(LPDWORD)&type, (LPDWORD)&type,
(LPBYTE)&data, (LPBYTE)data,
(LPDWORD)&size) == ERROR_SUCCESS) (LPDWORD)&size) == ERROR_SUCCESS)
{ {
switch(type) switch(type)