Skip to content

Commit

Permalink
apply cast
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-coding committed Jul 28, 2024
1 parent cf51559 commit 72cda7a
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 @@ -173,7 +173,7 @@ void fossil_tofu_print(fossil_tofu_t tofu) {
printf("%c", tofu.value.cchar_val);
break;
case FOSSIL_TOFU_TYPE_WCHAR:
printf("%lc", tofu.value.wchar_val);
printf("%c", (char)tofu.value.wchar_val);
break;
case FOSSIL_TOFU_TYPE_SIZE:
printf("%" PRIuPTR, (uintptr_t)tofu.value.size_val);
Expand Down

0 comments on commit 72cda7a

Please sign in to comment.