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/tkCanvWind.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/tkCanvWind.c')
-rw-r--r-- | generic/tkCanvWind.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCanvWind.c b/generic/tkCanvWind.c index e1148e3..1187613 100644 --- a/generic/tkCanvWind.c +++ b/generic/tkCanvWind.c @@ -263,7 +263,7 @@ WinItemCoords( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "wrong # coordinates: expected 2, got %" TCL_SIZE_MODIFIER "d", objc)); Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "WINDOW", - NULL); + (char *)NULL); return TCL_ERROR; } } @@ -276,7 +276,7 @@ WinItemCoords( } else { Tcl_SetObjResult(interp, Tcl_ObjPrintf( "wrong # coordinates: expected 0 or 2, got %" TCL_SIZE_MODIFIER "d", objc)); - Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "WINDOW", NULL); + Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "WINDOW", (char *)NULL); return TCL_ERROR; } return TCL_OK; @@ -378,7 +378,7 @@ ConfigureWinItem( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "can't use %s in a window item of this canvas", Tk_PathName(winItemPtr->tkwin))); - Tcl_SetErrorCode(interp, "TK", "GEOMETRY", "HIERARCHY", NULL); + Tcl_SetErrorCode(interp, "TK", "GEOMETRY", "HIERARCHY", (char *)NULL); winItemPtr->tkwin = NULL; return TCL_ERROR; } |