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/tkCanvBmap.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/tkCanvBmap.c')
-rw-r--r-- | generic/tkCanvBmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCanvBmap.c b/generic/tkCanvBmap.c index 9139e2a..6915282 100644 --- a/generic/tkCanvBmap.c +++ b/generic/tkCanvBmap.c @@ -265,7 +265,7 @@ BitmapCoords( Tcl_SetObjResult(interp, Tcl_ObjPrintf( "wrong # coordinates: expected 2, got %" TCL_SIZE_MODIFIER "d", objc)); Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "BITMAP", - NULL); + (char *)NULL); return TCL_ERROR; } } @@ -279,7 +279,7 @@ BitmapCoords( } else { Tcl_SetObjResult(interp, Tcl_ObjPrintf( "wrong # coordinates: expected 0 or 2, got %" TCL_SIZE_MODIFIER "d", objc)); - Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "BITMAP", NULL); + Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "BITMAP", (char *)NULL); return TCL_ERROR; } return TCL_OK; @@ -984,7 +984,7 @@ BitmapToPostscript( Tcl_SetObjResult(interp, Tcl_NewStringObj( "can't generate Postscript for bitmaps more than 60000" " pixels wide", TCL_INDEX_NONE)); - Tcl_SetErrorCode(interp, "TK", "CANVAS", "PS", "MEMLIMIT", NULL); + Tcl_SetErrorCode(interp, "TK", "CANVAS", "PS", "MEMLIMIT", (char *)NULL); goto error; } |