summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
committerpommicket <pommicket@gmail.com>2023-08-15 10:56:34 -0400
commit2515bf34a97620ffbfcf5db8451c422ccf132cf8 (patch)
tree4758ae1fe8aad9c9ba905913d586710795ee6a59 /text.c
parentad8c5d1466eb8edf2e6343f28026ae993ac31f2c (diff)
fix iwndows build
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index 60bafd4..4e21143 100644
--- a/text.c
+++ b/text.c
@@ -265,7 +265,7 @@ Font *text_font_load(const char *ttf_filename, float font_size) {
u32 file_size = (u32)ftell(ttf_file);
fseek(ttf_file, 0, SEEK_SET);
if (file_size >= (50UL<<20)) { // fonts aren't usually bigger than 50 MB
- text_set_err("Font file too big (%u megabytes).", (uint)(file_size >> 20));
+ text_set_err("Font file too big (%u megabytes).", (unsigned)(file_size >> 20));
}
u8 *file_data = NULL;