aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.cpp')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp
index 791514047..93888588f 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -3603,7 +3603,7 @@ String ir_mangle_name(irGen *s, String path, Entity *e) {
cast(char *)new_name, max_len,
"_%.*s-%u.%.*s",
cast(int)base_len, base,
- file->id,
+ cast(u32)file->id,
LIT(name));
} else {
new_name_len = gb_snprintf(