diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-19 07:44:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-19 07:44:09 (GMT) |
commit | 52f7f8443ded7a957803e75eea737fdaf04234db (patch) | |
tree | 25af82e23e90dd325ce0c5edd94a905dc053bec7 /unix | |
parent | bb14939c6492e648fedc29e6da35641e98b9c824 (diff) | |
parent | 3a94aaa6cb69b47612e4f299ef44bbb6d8869827 (diff) | |
download | tcl-52f7f8443ded7a957803e75eea737fdaf04234db.zip tcl-52f7f8443ded7a957803e75eea737fdaf04234db.tar.gz tcl-52f7f8443ded7a957803e75eea737fdaf04234db.tar.bz2 |
Merge 8.6. Missing cast in Tcl_WinTCharToUtf() macro (when compiling without -DUNICODE)
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclSelectNotfy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c index a0dea57..cb8addf 100644 --- a/unix/tclSelectNotfy.c +++ b/unix/tclSelectNotfy.c @@ -231,7 +231,7 @@ typedef struct { void *hbrBackground; void *lpszMenuName; const void *lpszClassName; -} WNDCLASS; +} WNDCLASSW; extern void __stdcall CloseHandle(void *); extern void *__stdcall CreateEventW(void *, unsigned char, unsigned char, @@ -249,7 +249,7 @@ extern unsigned char __stdcall PeekMessageW(MSG *, void *, int, int, int); extern unsigned char __stdcall PostMessageW(void *, unsigned int, void *, void *); extern void __stdcall PostQuitMessage(int); -extern void *__stdcall RegisterClassW(const WNDCLASS *); +extern void *__stdcall RegisterClassW(const WNDCLASSW *); extern unsigned char __stdcall ResetEvent(void *); extern unsigned char __stdcall TranslateMessage(const MSG *); @@ -297,7 +297,7 @@ Tcl_InitNotifier(void) */ if (tsdPtr->waitCVinitialized == 0) { #ifdef __CYGWIN__ - WNDCLASS class; + WNDCLASSW class; class.style = 0; class.cbClsExtra = 0; |