diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-08-01 17:28:49 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-08-01 17:28:49 +0100 |
| commit | d854c5003cfdf96d763775a15b5910bb5c8c846b (patch) | |
| tree | 03805e1ef01f2cbf3689670654bf67440b6eae2e /src/ssa.cpp | |
| parent | 66d8776b83d36ee4fd65b6837bb6a172ed09df81 (diff) | |
Fix minor errors for *nix
Diffstat (limited to 'src/ssa.cpp')
| -rw-r--r-- | src/ssa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssa.cpp b/src/ssa.cpp index b3681b3ed..5862cca20 100644 --- a/src/ssa.cpp +++ b/src/ssa.cpp @@ -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; |