devtools/print_wire: long long instead of longing

adding PRId64 magic instead

Changelog-None
This commit is contained in:
grubles 2023-07-23 17:13:09 -04:00 committed by Rusty Russell
parent b6f2eb949a
commit a1d25961de
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ bool printwire_s64(const char *fieldname, const u8 **cursor, size_t *plen)
printf("**TRUNCATED s64 %s**\n", fieldname);
return false;
}
printf("%ld\n", v);
printf("%"PRId64"\n", v);
return true;
}