Skip to content

Commit

Permalink
lcmgen: Fix --debug hex print
Browse files Browse the repository at this point in the history
  • Loading branch information
judfs committed Sep 11, 2024
1 parent 3f09fb3 commit 3771431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcmgen/lcmgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ void lcm_enum_dump(lcm_enum_t *le)

void lcm_struct_dump(lcm_struct_t *lr)
{
printf("struct %s [hash=0x%16" PRId64 "]\n", lr->structname->lctypename, lr->hash);
printf("struct %s [hash=0x%16" PRIx64 "]\n", lr->structname->lctypename, lr->hash);
for (unsigned int i = 0; i < g_ptr_array_size(lr->members); i++) {
lcm_member_t *lm = (lcm_member_t *) g_ptr_array_index(lr->members, i);
lcm_member_dump(lm);
Expand Down

0 comments on commit 3771431

Please sign in to comment.