summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-31 16:08:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-31 16:08:24 (GMT)
commit28b6f603a9e98d62f27fbaa3597711dfa9d83a25 (patch)
tree0acac7758a76826a66ab25d1ceb3fd7326aa1b81 /generic/tclStubInit.c
parentdfcc6b3a0ed4b8f7f5c9022957b039e10dbc98b4 (diff)
downloadtcl-28b6f603a9e98d62f27fbaa3597711dfa9d83a25.zip
tcl-28b6f603a9e98d62f27fbaa3597711dfa9d83a25.tar.gz
tcl-28b6f603a9e98d62f27fbaa3597711dfa9d83a25.tar.bz2
Fix (harmess) gcc warning, noted on Ubuntu
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index aae51dd..5c901e7 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -151,7 +151,7 @@ static unsigned short TclWinNToHS(unsigned short ns) {
#define TclMacOSXSetFileAttribute (int (*)(Tcl_Interp *, int, Tcl_Obj *, Tcl_Obj *))(void *)isatty
#define TclMacOSXCopyFileAttributes (int (*)(const char *, const char *, const Tcl_StatBuf *))(void *)TclUnixCopyFile
#define TclMacOSXMatchType (int (*)(Tcl_Interp *, const char *, const char *, Tcl_StatBuf *, Tcl_GlobTypeData *))(void *)TclpMakeFile
-#define TclMacOSXNotifierAddRunLoopMode (void (*)(const void *))TclpOpenFile
+#define TclMacOSXNotifierAddRunLoopMode (void (*)(const void *))(void *)TclpOpenFile
#endif
#ifdef _WIN32