diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-17 19:49:30 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-17 19:49:30 (GMT) |
commit | 70385d2f5041501defd7445e9e56eff43b95341b (patch) | |
tree | f705d088874f29fa02b69a0c0b20c7f683be37d9 /generic/tkColor.h | |
parent | d9fab9358566b092f8f4f24c629721e04b1370f9 (diff) | |
download | tk-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/tkColor.h')
-rw-r--r-- | generic/tkColor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkColor.h b/generic/tkColor.h index 05ef295..d5bde9d 100644 --- a/generic/tkColor.h +++ b/generic/tkColor.h @@ -38,7 +38,7 @@ typedef struct TkColor { Colormap colormap; /* Colormap from which this entry was * allocated. */ Visual *visual; /* Visual associated with colormap. */ - 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_AllocColorFromObj or Tk_GetColor). If * this count is 0, then this TkColor @@ -48,7 +48,7 @@ typedef struct TkColor { * referring to it. The structure is freed * when resourceRefCount and objRefCount are * both 0. */ - int objRefCount; /* The number of Tcl objects that reference + TkSizeT objRefCount; /* The number of Tcl objects that reference * this structure. */ int type; /* TK_COLOR_BY_NAME or TK_COLOR_BY_VALUE. */ Tcl_HashEntry *hashPtr; /* Pointer to hash table entry for this |