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 /win/tkWinWm.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 'win/tkWinWm.c')
-rw-r--r-- | win/tkWinWm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tkWinWm.c b/win/tkWinWm.c index 4e7618d..20cd72b 100644 --- a/win/tkWinWm.c +++ b/win/tkWinWm.c @@ -66,7 +66,7 @@ typedef struct ProtocolHandler { } ProtocolHandler; #define HANDLER_SIZE(cmdLength) \ - ((unsigned) ((Tk_Offset(ProtocolHandler, command) + 1) + cmdLength)) + (Tk_Offset(ProtocolHandler, command) + 1 + cmdLength) /* * Helper type passed via lParam to TkWmStackorderToplevelEnumProc |