summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-01 21:30:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-01 21:30:53 (GMT)
commit5e411077672785ff35ee78d5d99b0b4d81a3fb32 (patch)
tree5e98d0fc3199a4c702f74b8aeac0ee717934b1a0 /generic/tkPanedWindow.c
parent002540aedbd100ebc8a00e74568ea17c7f47673a (diff)
downloadtk-5e411077672785ff35ee78d5d99b0b4d81a3fb32.zip
tk-5e411077672785ff35ee78d5d99b0b4d81a3fb32.tar.gz
tk-5e411077672785ff35ee78d5d99b0b4d81a3fb32.tar.bz2
Minor tweaks, mostly formatting
Diffstat (limited to 'generic/tkPanedWindow.c')
-rw-r--r--generic/tkPanedWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkPanedWindow.c b/generic/tkPanedWindow.c
index 05b9715..967d322 100644
--- a/generic/tkPanedWindow.c
+++ b/generic/tkPanedWindow.c
@@ -2400,7 +2400,7 @@ GetSticky(
int internalOffset) /* Offset within *recordPtr containing the
* sticky value. */
{
- int sticky = *(int *)((char *)recordPtr + internalOffset);
+ int sticky = *(int *)(recordPtr + internalOffset);
char buffer[5];
char *p = &buffer[0];