summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 19:40:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-30 19:40:32 (GMT)
commit978ebdabc724269d5559757507f87bd121953099 (patch)
tree87be93974759bfc95575170f122d16c56c87640c /generic/tkImgPhoto.c
parent5f8fa20d23ced1ed51787796956391f963658830 (diff)
downloadtk-978ebdabc724269d5559757507f87bd121953099.zip
tk-978ebdabc724269d5559757507f87bd121953099.tar.gz
tk-978ebdabc724269d5559757507f87bd121953099.tar.bz2
more int -> Tcl_Size (making use of the increased range in Tcl 9.0)
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 5bb10f8..4bbc205 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -2105,7 +2105,7 @@ ImgPhotoConfigureModel(
* Take also empty metadatas as this may be a sign to replace
* existing metadata.
*/
- int dictSize;
+ Tcl_Size dictSize;
if (TCL_OK != Tcl_DictObjSize(interp,metadataInObj, &dictSize)) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
@@ -2271,7 +2271,7 @@ ImgPhotoConfigureModel(
* Merge driver returned metadata and master metadata
*/
if (metadataOutObj != NULL) {
- int dictSize;
+ Tcl_Size dictSize;
if (TCL_OK != Tcl_DictObjSize(interp,metadataOutObj, &dictSize)) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"driver metadata not a dict", -1));
@@ -2881,7 +2881,7 @@ if (formatPtr == NULL) {
*/
if (metadataOutObj != NULL) {
- int dictSize;
+ Tcl_Size dictSize;
if (Tcl_IsShared(metadataOutObj)
|| TCL_OK != Tcl_DictObjSize(interp,metadataOutObj, &dictSize)
|| dictSize > 0) {
@@ -3083,7 +3083,7 @@ MatchStringFormat(
*/
if (metadataOutObj != NULL) {
- int dictSize;
+ Tcl_Size dictSize;
if (Tcl_IsShared(metadataOutObj)
|| TCL_OK != Tcl_DictObjSize(interp,metadataOutObj, &dictSize)
|| dictSize > 0) {