diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-23 18:57:42 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-23 18:57:42 (GMT) |
commit | f07f08b972be7263daae173c943d34be7bb198b2 (patch) | |
tree | 3d4e3013ed798f122605c07088aecb23c368667c /generic/tkCanvPoly.c | |
parent | f2bc66b5a1771edc26e54937e80c6e84901ee411 (diff) | |
parent | 90913ce1f8b0d59e50df2ce83b0ae1d6dbba2c20 (diff) | |
download | tk-f07f08b972be7263daae173c943d34be7bb198b2.zip tk-f07f08b972be7263daae173c943d34be7bb198b2.tar.gz tk-f07f08b972be7263daae173c943d34be7bb198b2.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tkCanvPoly.c')
-rw-r--r-- | generic/tkCanvPoly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvPoly.c b/generic/tkCanvPoly.c index d7b164a..f40a922 100644 --- a/generic/tkCanvPoly.c +++ b/generic/tkCanvPoly.c @@ -364,7 +364,7 @@ PolygonCoords( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "wrong # coordinates: expected an even number, got %" TCL_SIZE_MODIFIER "d", objc)); - Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "POLYGON", NULL); + Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "POLYGON", (char *)NULL); return TCL_ERROR; } @@ -1766,7 +1766,7 @@ GetPolygonIndex( } else { badIndex: Tcl_SetObjResult(interp, Tcl_ObjPrintf("bad index \"%s\"", string)); - Tcl_SetErrorCode(interp, "TK", "CANVAS", "ITEM_INDEX", "POLY", NULL); + Tcl_SetErrorCode(interp, "TK", "CANVAS", "ITEM_INDEX", "POLY", (char *)NULL); return TCL_ERROR; } return TCL_OK; |