diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-27 16:36:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-27 16:36:30 (GMT) |
commit | 886709b0efe805e1dbb22a9f0dc15464d5ad2687 (patch) | |
tree | 0e314646609fedcfb3283b8d38baf10799c798c6 /generic/tkImgPNG.c | |
parent | 56b6a915d378f29f324d299e3a2371b3b6da03bc (diff) | |
download | tk-886709b0efe805e1dbb22a9f0dc15464d5ad2687.zip tk-886709b0efe805e1dbb22a9f0dc15464d5ad2687.tar.gz tk-886709b0efe805e1dbb22a9f0dc15464d5ad2687.tar.bz2 |
Still missed a few (from previous commit)
Diffstat (limited to 'generic/tkImgPNG.c')
-rw-r--r-- | generic/tkImgPNG.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkImgPNG.c b/generic/tkImgPNG.c index 7bde11f..499ffed 100644 --- a/generic/tkImgPNG.c +++ b/generic/tkImgPNG.c @@ -1810,9 +1810,9 @@ UnfilterLine( PNGImage *pngPtr) { unsigned char *thisLine = - Tcl_GetByteArrayFromObj(pngPtr->thisLineObj, (int *)NULL); + Tcl_GetByteArrayFromObj(pngPtr->thisLineObj, (Tcl_Size *)NULL); unsigned char *lastLine = - Tcl_GetByteArrayFromObj(pngPtr->lastLineObj, (int *)NULL); + Tcl_GetByteArrayFromObj(pngPtr->lastLineObj, (Tcl_Size *)NULL); #define PNG_FILTER_NONE 0 #define PNG_FILTER_SUB 1 @@ -1942,7 +1942,7 @@ DecodeLine( int colStep = 1; /* Column increment each pass */ int pixStep = 0; /* extra pixelPtr increment each pass */ unsigned char lastPixel[6]; - unsigned char *p = Tcl_GetByteArrayFromObj(pngPtr->thisLineObj, (int *)NULL); + unsigned char *p = Tcl_GetByteArrayFromObj(pngPtr->thisLineObj, (Tcl_Size *)NULL); p++; if (UnfilterLine(interp, pngPtr) == TCL_ERROR) { |