diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-15 18:55:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-10-15 18:55:40 (GMT) |
commit | 2c6df21a22544260bc790e12db7c701c7653d376 (patch) | |
tree | 3ca1975f0f5ea52919dd11f5f9b3d7a2695cbbdb /generic/tkTextMark.c | |
parent | fe2b267ee9d5dff5839a3d018e8a200c2dd368ba (diff) | |
download | tk-2c6df21a22544260bc790e12db7c701c7653d376.zip tk-2c6df21a22544260bc790e12db7c701c7653d376.tar.gz tk-2c6df21a22544260bc790e12db7c701c7653d376.tar.bz2 |
Use more size_t internally, comparable with TIP #494 but then in Tk. Eliminate unnecessary type casts
Diffstat (limited to 'generic/tkTextMark.c')
-rw-r--r-- | generic/tkTextMark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextMark.c b/generic/tkTextMark.c index 19d0c2a..da455d3 100644 --- a/generic/tkTextMark.c +++ b/generic/tkTextMark.c @@ -19,8 +19,8 @@ * Macro that determines the size of a mark segment: */ -#define MSEG_SIZE ((unsigned) (Tk_Offset(TkTextSegment, body) \ - + sizeof(TkTextMark))) +#define MSEG_SIZE (Tk_Offset(TkTextSegment, body) \ + + sizeof(TkTextMark)) /* * Forward references for functions defined in this file: |