summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSelect.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2025-10-31 19:28:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2025-10-31 19:28:42 (GMT)
commitc25f14940d3c7823cae0a783f34c6f147518a1b3 (patch)
treed598543193e4ffbb2336840441fd696a854ab6cc /unix/tkUnixSelect.c
parent3d21e16ae679d4c1ae0b73441536c7429a72657d (diff)
parent2f48a0563a693aeccaf7550989d0539a3c940d95 (diff)
downloadtk-core-tk-print-fixes.zip
tk-core-tk-print-fixes.tar.gz
tk-core-tk-print-fixes.tar.bz2
Diffstat (limited to 'unix/tkUnixSelect.c')
-rw-r--r--unix/tkUnixSelect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c
index 13c2b30..e8d0922 100644
--- a/unix/tkUnixSelect.c
+++ b/unix/tkUnixSelect.c
@@ -583,7 +583,7 @@ TkSelEventProc(
if (bytesAfter != 0) {
Tcl_SetObjResult(retrPtr->interp, Tcl_NewStringObj(
"selection property too large", TCL_INDEX_NONE));
- Tcl_SetErrorCode(retrPtr->interp, "TK", "SELECTION", "SIZE",NULL);
+ Tcl_SetErrorCode(retrPtr->interp, "TK", "SELECTION", "SIZE", (char *)NULL);
retrPtr->result = TCL_ERROR;
XFree(propInfo);
return;
@@ -762,7 +762,7 @@ SelTimeoutProc(
Tcl_SetObjResult(retrPtr->interp, Tcl_NewStringObj(
"selection owner didn't respond", TCL_INDEX_NONE));
- Tcl_SetErrorCode(retrPtr->interp, "TK", "SELECTION", "IGNORED", NULL);
+ Tcl_SetErrorCode(retrPtr->interp, "TK", "SELECTION", "IGNORED", (char *)NULL);
retrPtr->result = TCL_ERROR;
} else {
retrPtr->timeout = Tcl_CreateTimerHandler(1000, SelTimeoutProc,
@@ -1150,7 +1150,7 @@ SelRcvIncrProc(
if (bytesAfter != 0) {
Tcl_SetObjResult(retrPtr->interp, Tcl_NewStringObj(
"selection property too large", TCL_INDEX_NONE));
- Tcl_SetErrorCode(retrPtr->interp, "TK", "SELECTION", "SIZE", NULL);
+ Tcl_SetErrorCode(retrPtr->interp, "TK", "SELECTION", "SIZE", (char *)NULL);
retrPtr->result = TCL_ERROR;
goto done;
}