diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-25 12:58:20 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-25 12:58:20 (GMT) |
| commit | ff878198efcc37e57031dcf223c086e00471f852 (patch) | |
| tree | 2f8828416d8432593252efda2b82a1dca54b7c79 /unix/tclUnixNotfy.c | |
| parent | 84707cf7026c7f710ca6ffd4d7a1e7bde4f9ca51 (diff) | |
| parent | 6ec16f5f96257f9a6ac5d507f8f19258c7ceaa28 (diff) | |
| download | tcl-ff878198efcc37e57031dcf223c086e00471f852.zip tcl-ff878198efcc37e57031dcf223c086e00471f852.tar.gz tcl-ff878198efcc37e57031dcf223c086e00471f852.tar.bz2 | |
merge trunk
Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
Diffstat (limited to 'unix/tclUnixNotfy.c')
| -rw-r--r-- | unix/tclUnixNotfy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 5c03b79..6e90807 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -213,14 +213,14 @@ typedef struct { void *hCursor; void *hbrBackground; void *lpszMenuName; - void *lpszClassName; + const void *lpszClassName; } WNDCLASS; extern void __stdcall CloseHandle(void *); extern void *__stdcall CreateEventW(void *, unsigned char, unsigned char, void *); -extern void * __stdcall CreateWindowExW(void *, void *, void *, DWORD, int, - int, int, int, void *, void *, void *, void *); +extern void * __stdcall CreateWindowExW(void *, const void *, const void *, + DWORD, int, int, int, int, void *, void *, void *, void *); extern DWORD __stdcall DefWindowProcW(void *, int, void *, void *); extern unsigned char __stdcall DestroyWindow(void *); extern int __stdcall DispatchMessageW(const MSG *); |
