diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-07-31 11:36:00 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-07-31 11:36:00 +0100 |
| commit | 0fae31fb545b474359359fd644911fa335c5c282 (patch) | |
| tree | 5077da92ae70949b014c981d91467d67ff127e2f /src/main.cpp | |
| parent | 8987a6630c8ec43da770dd92c10f6b92e17201f2 (diff) | |
Extra type safety; Fix typos
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index aa2158e31..73b49fdc6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -542,7 +542,7 @@ int main(int arg_count, char **arg_ptr) { String output_name = ir_gen.output_name; String output_base = ir_gen.output_base; - int base_name_len = output_base.len; + int base_name_len = cast(int)output_base.len; build_context.optimization_level = gb_clamp(build_context.optimization_level, 0, 3); |