diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-12 15:09:02 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-12 15:09:02 (GMT) |
commit | 23718fff3fa4498a96ddba775e09ec032b64c6a1 (patch) | |
tree | 1f10636b6db460edde51cdeedce05d61cc290c89 /generic/tkImgPhoto.c | |
parent | 96b66d43c7d89c8cff44d9768c2d57bd4b4a7cdf (diff) | |
parent | f09480661f2d21a06fc4329c773d93124e674a7a (diff) | |
download | tk-23718fff3fa4498a96ddba775e09ec032b64c6a1.zip tk-23718fff3fa4498a96ddba775e09ec032b64c6a1.tar.gz tk-23718fff3fa4498a96ddba775e09ec032b64c6a1.tar.bz2 |
Rebase to 8.7
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 b8f7796..5bb10f8 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) { |