Fix minor errors for *nix

This commit is contained in:
Ginger Bill
2017-08-01 17:28:49 +01:00
parent 66d8776b83
commit d854c5003c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2556,7 +2556,7 @@ String ssa_mangle_name(ssaModule *m, 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 (is_overloaded) {
char *str = cast(char *)new_name + new_name_len-1;