diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-30 19:40:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-30 19:40:32 (GMT) |
commit | 978ebdabc724269d5559757507f87bd121953099 (patch) | |
tree | 87be93974759bfc95575170f122d16c56c87640c /win/tkWinWm.c | |
parent | 5f8fa20d23ced1ed51787796956391f963658830 (diff) | |
download | tk-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 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 992aa08..1954f49 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -211,7 +211,7 @@ typedef struct TkWmInfo { */ TkWindow **cmapList; /* Array of window with private colormaps. */ - int cmapCount; /* Number of windows in array. */ + Tcl_Size cmapCount; /* Number of windows in array. */ /* * Miscellaneous information. @@ -3282,7 +3282,8 @@ WmColormapwindowsCmd( { WmInfo *wmPtr = winPtr->wmInfoPtr; TkWindow **cmapList, *winPtr2, **winPtr2Ptr = &winPtr2; - int i, windowObjc, gotToplevel; + Tcl_Size i, windowObjc; + int gotToplevel; Tcl_Obj **windowObjv, *resultObj; if ((objc != 3) && (objc != 4)) { @@ -7296,7 +7297,7 @@ InstallColormaps( * WM_QUERYNEWPALETTE */ int isForemost) /* 1 if window is foremost, else 0 */ { - int i; + Tcl_Size i; HDC dc; HPALETTE oldPalette; TkWindow *winPtr = GetTopLevel(hwnd); @@ -7405,7 +7406,7 @@ RefreshColormap( TkDisplay *dispPtr) { WmInfo *wmPtr; - int i; + Tcl_Size i; for (wmPtr = dispPtr->firstWmPtr; wmPtr != NULL; wmPtr = wmPtr->nextPtr) { if (wmPtr->cmapCount > 0) { |