Fix compilation with CHECK_STRUCTS

* src/pdumper.c (dump_buffer): Update hash of struct buffer.
This commit is contained in:
Andreas Schwab 2020-04-01 17:26:14 +02:00
parent 953b5b4a6d
commit b538cd88b4

View file

@ -2769,7 +2769,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_375A10F5E5
#if CHECK_STRUCTS && !defined HASH_buffer_5DC36DBD42
# error "buffer changed. See CHECK_STRUCTS comment in config.h."
#endif
struct buffer munged_buffer = *in_buffer;