summaryrefslogtreecommitdiffstats
path: root/generic/tk3d.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-17 19:49:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-17 19:49:30 (GMT)
commit70385d2f5041501defd7445e9e56eff43b95341b (patch)
treef705d088874f29fa02b69a0c0b20c7f683be37d9 /generic/tk3d.h
parentd9fab9358566b092f8f4f24c629721e04b1370f9 (diff)
downloadtk-70385d2f5041501defd7445e9e56eff43b95341b.zip
tk-70385d2f5041501defd7445e9e56eff43b95341b.tar.gz
tk-70385d2f5041501defd7445e9e56eff43b95341b.tar.bz2
One more round of int -> size_t improvements (inspired by TIP #494, but then for Tk).
Diffstat (limited to 'generic/tk3d.h')
-rw-r--r--generic/tk3d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tk3d.h b/generic/tk3d.h
index 891e927..f574de7 100644
--- a/generic/tk3d.h
+++ b/generic/tk3d.h
@@ -28,7 +28,7 @@ typedef struct TkBorder {
* the border will be used. */
Colormap colormap; /* Colormap out of which pixels are
* allocated. */
- int resourceRefCount; /* Number of active uses of this color (each
+ TkSizeT resourceRefCount; /* Number of active uses of this color (each
* active use corresponds to a call to
* Tk_Alloc3DBorderFromObj or Tk_Get3DBorder).
* If this count is 0, then this structure is
@@ -37,7 +37,7 @@ typedef struct TkBorder {
* because there are objects referring to it.
* The structure is freed when objRefCount and
* resourceRefCount are both 0. */
- int objRefCount; /* The number of Tcl objects that reference
+ TkSizeT objRefCount; /* The number of Tcl objects that reference
* this structure. */
XColor *bgColorPtr; /* Background color (intensity between
* lightColorPtr and darkColorPtr). */