mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5582 Explicitly call the ANSI Windows API with proper casts
X-SVN-Rev: 21043
This commit is contained in:
parent
b847cd9089
commit
d656c86a77
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue