diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-12-12 15:15:56 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-12-12 15:17:12 -0800 |
commit | 8e78d49765993bbbb93d42b0530f5ffaa4e759f4 (patch) | |
tree | ba2690be441f5a41c070b34d79a6f72568897cc1 /src | |
parent | e921f97df9a11fd6f43ee040ba97c686c3fa62ee (diff) | |
download | emacs-8e78d49765993bbbb93d42b0530f5ffaa4e759f4.tar.gz |
Fix recently-introduced cast typo
* src/alloc.c (SDATA_OF_STRING): Put cast in right spot.
This matters only if GC_CHECK_STRING_BYTES, which is sort
of a coals-to-Newcastle situation if pointer bounds checking
is also enabled.
Diffstat (limited to 'src')
-rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 9197ff12ef5..fb0f948474d 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -1727,7 +1727,7 @@ static EMACS_INT total_string_bytes; a pointer to the `u.data' member of its sdata structure; the structure starts at a constant offset in front of that. */ -#define SDATA_OF_STRING(S) ptr_bounds_init ((sdata *) ((S)->u.s.data \ +#define SDATA_OF_STRING(S) ((sdata *) ptr_bounds_init ((S)->u.s.data \ - SDATA_DATA_OFFSET)) |