Skip to content

Commit

Permalink
revert with a cast
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-coding committed Jul 28, 2024
1 parent ff6bc47 commit aa14620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/logic/tofu.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void fossil_tofu_print(fossil_tofu_t tofu) {
printf("%lc", tofu.value.wchar_val);
break;
case FOSSIL_TOFU_TYPE_SIZE:
printf("%z", tofu.value.size_val);
printf("%zu", (size_t)tofu.value.size_val);
break;
case FOSSIL_TOFU_TYPE_BOOL:
printf("%s", tofu.value.bool_val ? "true" : "false");
Expand Down

0 comments on commit aa14620

Please sign in to comment.