diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-08-11 00:16:57 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-08-11 00:16:57 +0100 |
| commit | d7bd3f8402e86d020ff5bb9dda3f9a2da2d3a07c (patch) | |
| tree | 414ffed3e9b176499fa7be104e30e3a9e4b63640 /src/ir.cpp | |
| parent | 0fff6a2b74fb415e30a6b9ae104e204ffe799cbe (diff) | |
Fix compilation issues on OSX
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
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( |