summaryrefslogtreecommitdiffstats
path: root/unix/dltest/pkgooa.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-17 06:02:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-17 06:02:36 (GMT)
commit6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247 (patch)
tree764a634adc0ddab6d9a9456d74fc449175c34275 /unix/dltest/pkgooa.c
parentfdb568c35f1cd6de7f1acd05fdbd4f8b6cf5aee1 (diff)
downloadtcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.zip
tcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.tar.gz
tcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.tar.bz2
Handle sentinels for any C++ compiler
Diffstat (limited to 'unix/dltest/pkgooa.c')
-rw-r--r--unix/dltest/pkgooa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/dltest/pkgooa.c b/unix/dltest/pkgooa.c
index e0aa45c..60e3864 100644
--- a/unix/dltest/pkgooa.c
+++ b/unix/dltest/pkgooa.c
@@ -108,18 +108,18 @@ Pkgooa_Init(
}
if (tclStubsPtr == NULL) {
Tcl_AppendResult(interp, "Tcl stubs are not initialized, "
- "did you compile using -DUSE_TCL_STUBS? ", NULL);
+ "did you compile using -DUSE_TCL_STUBS? ", (void *)NULL);
return TCL_ERROR;
}
if (Tcl_OOInitStubs(interp) == NULL) {
return TCL_ERROR;
}
if (tclOOStubsPtr == NULL) {
- Tcl_AppendResult(interp, "TclOO stubs are not initialized", NULL);
+ Tcl_AppendResult(interp, "TclOO stubs are not initialized", (void *)NULL);
return TCL_ERROR;
}
if (tclOOIntStubsPtr == NULL) {
- Tcl_AppendResult(interp, "TclOO internal stubs are not initialized", NULL);
+ Tcl_AppendResult(interp, "TclOO internal stubs are not initialized", (void *)NULL);
return TCL_ERROR;
}