ICU-5582 Explicitly call the ANSI Windows API with proper casts

X-SVN-Rev: 21043
This commit is contained in:
George Rhoten 2007-02-16 21:46:15 +00:00
parent b847cd9089
commit d656c86a77

View file

@ -535,7 +535,7 @@ uprv_detectWindowsTimeZone() {
{
stdNameSize = sizeof(stdName);
result = RegQueryValueExA(hkey,
(LPTSTR)STANDARD_NAME_REGKEY,
STANDARD_NAME_REGKEY,
NULL,
NULL,
(LPBYTE)stdName,
@ -553,7 +553,7 @@ uprv_detectWindowsTimeZone() {
if (result == ERROR_SUCCESS) {
result = RegQueryValueExA(hkey,
(LPTSTR)STD_REGKEY,
STD_REGKEY,
NULL,
NULL,
(LPBYTE)stdRegName,