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 4bb48aa5e..0918eba11 100644
--- a/src/ir.cpp
+++ b/src/ir.cpp
@@ -3613,7 +3613,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));
}
if (require_suffix_id) {