summaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
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;