From 0fae31fb545b474359359fd644911fa335c5c282 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Mon, 31 Jul 2017 11:36:00 +0100 Subject: Extra type safety; Fix typos --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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); -- cgit v1.2.3