From d854c5003cfdf96d763775a15b5910bb5c8c846b Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Tue, 1 Aug 2017 17:28:49 +0100 Subject: Fix minor errors for *nix --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') 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) { -- cgit v1.2.3