diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-23 17:57:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-23 17:57:53 (GMT) |
commit | 90913ce1f8b0d59e50df2ce83b0ae1d6dbba2c20 (patch) | |
tree | 2a462af99f91404a44e4874794afe8d70f2402e2 /generic/tkCanvWind.c | |
parent | 443d48db54020f3091bba30b8b3cc04651d2c501 (diff) | |
download | tk-90913ce1f8b0d59e50df2ce83b0ae1d6dbba2c20.zip tk-90913ce1f8b0d59e50df2ce83b0ae1d6dbba2c20.tar.gz tk-90913ce1f8b0d59e50df2ce83b0ae1d6dbba2c20.tar.bz2 |
Another round of int -> Tcl_Size. Use more (char *)NULL in stead of simply NULL. Re-generate stub table, only creating dummy stub entries for TCL_MAJOR_VERSION < 9
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 e54032f..38754d8 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; } |