gossipd: use u64 for the one offset we don't.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2024-10-08 13:23:13 +10:30 committed by Vincenzo Palazzo
parent cc1362ead3
commit ebf784ef9c

View File

@ -555,7 +555,7 @@ void gossip_store_del(struct gossip_store *gs,
u64 offset,
int type)
{
u32 next_index;
u64 next_index;
assert(offset > sizeof(struct gossip_hdr));
next_index = gossip_store_set_flag(gs, offset,