summaryrefslogtreecommitdiffstats
path: root/win/tkWinWm.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-15 18:55:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-10-15 18:55:40 (GMT)
commit2c6df21a22544260bc790e12db7c701c7653d376 (patch)
tree3ca1975f0f5ea52919dd11f5f9b3d7a2695cbbdb /win/tkWinWm.c
parentfe2b267ee9d5dff5839a3d018e8a200c2dd368ba (diff)
downloadtk-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.c2
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