1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

Unbreak compilation with CHECK_STRUCTS.

Commit 3963aea4f4 modified the ‘buffer’
structure, but didn’t adapt the hash.

* src/pdumper.c (dump_buffer): Update buffer hash.
This commit is contained in:
Philipp Stephani 2020-11-22 23:22:50 +01:00
parent 9b6ad3107f
commit edd949a3eb

View file

@ -2692,7 +2692,7 @@ dump_hash_table (struct dump_context *ctx,
static dump_off
dump_buffer (struct dump_context *ctx, const struct buffer *in_buffer)
{
#if CHECK_STRUCTS && !defined HASH_buffer_5DC36DBD42
#if CHECK_STRUCTS && !defined HASH_buffer_EE36B4292E
# error "buffer changed. See CHECK_STRUCTS comment in config.h."
#endif
struct buffer munged_buffer = *in_buffer;