diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-25 10:01:36 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-25 10:01:36 (GMT) |
commit | 4ddfabceb1dd92219b221373226f24345bd86759 (patch) | |
tree | dccec125103eba842f379dfcfa174b8349ce64b9 /generic/tkImgPhoto.c | |
parent | 1b7e7f9d63511b6a708a4b20a4f4f66b242eca97 (diff) | |
download | tk-4ddfabceb1dd92219b221373226f24345bd86759.zip tk-4ddfabceb1dd92219b221373226f24345bd86759.tar.gz tk-4ddfabceb1dd92219b221373226f24345bd86759.tar.bz2 |
TIP #628 for Tk: Shared 8.7/9.0 build environment
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r-- | generic/tkImgPhoto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 209de6f..789078e 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -467,7 +467,7 @@ ImgPhotoCmd( Tk_PhotoImageBlock block; Tk_PhotoImageFormat *imageFormat; Tk_PhotoImageFormatVersion3 *imageFormatVersion3; - TkSizeT length; + Tcl_Size length; int imageWidth, imageHeight, matched, oldformat = 0; Tcl_Channel chan; Tk_PhotoHandle srcHandle; @@ -1673,7 +1673,7 @@ ParseSubcommandOptions( * TK_PHOTO_COMPOSITE_* constants. */ NULL }; - TkSizeT length; + Tcl_Size length; int index, c, bit, currentBit; int values[4], numValues, maxValues, argIndex; const char *option, *expandedOption, *needed; @@ -1967,7 +1967,7 @@ ImgPhotoConfigureModel( Tcl_Obj *oldData, *data = NULL, *oldFormat, *format = NULL, *metadataInObj = NULL, *metadataOutObj = NULL; Tcl_Obj *tempdata, *tempformat; - TkSizeT length; + Tcl_Size length; int i, j, result, imageWidth, imageHeight, oldformat; double oldGamma; Tcl_Channel chan; @@ -2069,7 +2069,7 @@ ImgPhotoConfigureModel( * Force into ByteArray format, which most (all) image handlers will * use anyway. Empty length means ignore the -data option. */ - TkSizeT bytesize; + Tcl_Size bytesize; (void) Tcl_GetByteArrayFromObj(data, &bytesize); if (bytesize) { |