summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvArc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-23 18:57:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-03-23 18:57:42 (GMT)
commitf07f08b972be7263daae173c943d34be7bb198b2 (patch)
tree3d4e3013ed798f122605c07088aecb23c368667c /generic/tkCanvArc.c
parentf2bc66b5a1771edc26e54937e80c6e84901ee411 (diff)
parent90913ce1f8b0d59e50df2ce83b0ae1d6dbba2c20 (diff)
downloadtk-f07f08b972be7263daae173c943d34be7bb198b2.zip
tk-f07f08b972be7263daae173c943d34be7bb198b2.tar.gz
tk-f07f08b972be7263daae173c943d34be7bb198b2.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tkCanvArc.c')
-rw-r--r--generic/tkCanvArc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c
index d40c876..03a3b99 100644
--- a/generic/tkCanvArc.c
+++ b/generic/tkCanvArc.c
@@ -376,7 +376,7 @@ ArcCoords(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"wrong # coordinates: expected 4, got %" TCL_SIZE_MODIFIER "d", objc));
Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "ARC",
- NULL);
+ (char *)NULL);
return TCL_ERROR;
}
}
@@ -405,7 +405,7 @@ ArcCoords(
} else {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"wrong # coordinates: expected 0 or 4, got %" TCL_SIZE_MODIFIER "d", objc));
- Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "ARC", NULL);
+ Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "ARC", (char *)NULL);
return TCL_ERROR;
}
return TCL_OK;
@@ -2228,7 +2228,7 @@ StyleParseProc(
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"bad -style option \"%s\": must be arc, chord, or pieslice",
value));
- Tcl_SetErrorCode(interp, "TK", "CANVAS", "ARC_STYLE", NULL);
+ Tcl_SetErrorCode(interp, "TK", "CANVAS", "ARC_STYLE", (char *)NULL);
*stylePtr = PIESLICE_STYLE;
return TCL_ERROR;
}