mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-13 11:12:19 -08:00
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.
This commit is contained in:
parent
e921f97df9
commit
8e78d49765
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue