diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-12 15:26:27 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-06-12 15:26:27 (GMT) |
commit | 19d8ff62c56686e2c07979778a64661229c62a64 (patch) | |
tree | 72de2a9bac1693435bbc7b11aba109f51ef94955 /generic/tclIO.h | |
parent | 100d8f950dbcdf50e48c8d257a98ee915c043e30 (diff) | |
download | tcl-19d8ff62c56686e2c07979778a64661229c62a64.zip tcl-19d8ff62c56686e2c07979778a64661229c62a64.tar.gz tcl-19d8ff62c56686e2c07979778a64661229c62a64.tar.bz2 |
Eliminate (internal) TclOffset() usage, just use offsetof() in stead.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r-- | generic/tclIO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h index 15f0f78..d10f268 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -50,7 +50,7 @@ typedef struct ChannelBuffer { * structure. */ } ChannelBuffer; -#define CHANNELBUFFER_HEADER_SIZE TclOffset(ChannelBuffer, buf) +#define CHANNELBUFFER_HEADER_SIZE offsetof(ChannelBuffer, buf) /* * How much extra space to allocate in buffer to hold bytes from previous |