summaryrefslogtreecommitdiffstats
path: root/unix/tclSelectNotfy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-04 06:54:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-04 06:54:24 (GMT)
commitd409a29e57b2d4ced1bad4b0bb5bb1e2387f4120 (patch)
treeb94ae208eb9dfbc5fd5839c4a5fc7747ae5f2eb1 /unix/tclSelectNotfy.c
parentcc1e30158793a4c08f066242a62aeba0a777c263 (diff)
downloadtcl-d409a29e57b2d4ced1bad4b0bb5bb1e2387f4120.zip
tcl-d409a29e57b2d4ced1bad4b0bb5bb1e2387f4120.tar.gz
tcl-d409a29e57b2d4ced1bad4b0bb5bb1e2387f4120.tar.bz2
Experiment: compile Tcl with C++ compiler. WIP
Diffstat (limited to 'unix/tclSelectNotfy.c')
-rw-r--r--unix/tclSelectNotfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclSelectNotfy.c b/unix/tclSelectNotfy.c
index a0dea57..38d6afd 100644
--- a/unix/tclSelectNotfy.c
+++ b/unix/tclSelectNotfy.c
@@ -464,7 +464,7 @@ Tcl_CreateFileHandler(
}
}
if (filePtr == NULL) {
- filePtr = ckalloc(sizeof(FileHandler));
+ filePtr = (FileHandler *)ckalloc(sizeof(FileHandler));
filePtr->fd = fd;
filePtr->readyMask = 0;
filePtr->nextPtr = tsdPtr->firstFileHandlerPtr;