diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 07:57:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-16 07:57:18 (GMT) |
commit | e6fe5e1f356751dea5d391b25a6f2437ffebae5f (patch) | |
tree | 4810edcd3b39814a55c1d5fb235d768f181bc42a /win/tkWinX.c | |
parent | 52482ab5023994148201c6b4e71c40b62809b205 (diff) | |
download | tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.zip tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.tar.gz tk-e6fe5e1f356751dea5d391b25a6f2437ffebae5f.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinX.c')
-rw-r--r-- | win/tkWinX.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinX.c b/win/tkWinX.c index a592056..cdbdc84 100644 --- a/win/tkWinX.c +++ b/win/tkWinX.c @@ -380,7 +380,7 @@ TkWinGetPlatformId() KEY_READ, &hKey) != ERROR_SUCCESS) { tkWinTheme = TK_THEME_WIN_XP; } else { - RegQueryValueEx(hKey, szCurrent, NULL, NULL, pBuffer, &dwSize); + RegQueryValueEx(hKey, szCurrent, NULL, NULL, (BYTE *) pBuffer, &dwSize); RegCloseKey(hKey); if (strcmp(pBuffer, "Windows Standard") == 0) { tkWinTheme = TK_THEME_WIN_CLASSIC; |