summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-12 15:26:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-06-12 15:26:27 (GMT)
commit19d8ff62c56686e2c07979778a64661229c62a64 (patch)
tree72de2a9bac1693435bbc7b11aba109f51ef94955 /generic/tclTest.c
parent100d8f950dbcdf50e48c8d257a98ee915c043e30 (diff)
downloadtcl-19d8ff62c56686e2c07979778a64661229c62a64.zip
tcl-19d8ff62c56686e2c07979778a64661229c62a64.tar.gz
tcl-19d8ff62c56686e2c07979778a64661229c62a64.tar.bz2
Eliminate (internal) TclOffset() usage, just use offsetof() in stead.
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 8474a91..4eb8519 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -7710,7 +7710,7 @@ MyCompiledVarFree(
}
#define TclVarHashGetValue(hPtr) \
- ((Var *) ((char *)hPtr - TclOffset(VarInHash, entry)))
+ ((Var *) ((char *)hPtr - offsetof(VarInHash, entry)))
static Tcl_Var
MyCompiledVarFetch(