From e626f912677e203c209e1b9ee1ba8ab2730ee484 Mon Sep 17 00:00:00 2001 From: Dusty Daemon Date: Tue, 25 Jul 2023 19:39:49 -0700 Subject: [PATCH] Mac: Change format type to use PRIu64 instead of %ld Changelog-None --- common/bolt11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bolt11.c b/common/bolt11.c index 825d850d6..616eab84a 100644 --- a/common/bolt11.c +++ b/common/bolt11.c @@ -419,7 +419,7 @@ static const char *decode_f(struct bolt11 *b11, } if (tal_count(f) > 40) { return tal_fmt(b11, - "f: witness v%ld bad length %zu", + "f: witness v%"PRIu64" bad length %zu", version, tal_count(f)); }