fix compile warnings on linux

This commit is contained in:
Nakst
2018-03-10 20:29:43 +00:00
parent 52f60c706a
commit 9fa4aa40b7
2 changed files with 7 additions and 6 deletions

View File

@@ -395,7 +395,7 @@ bool parse_build_flags(Array<String> args) {
path = string_trim_whitespace(path);
if (is_import_path_valid(path)) {
if(!string_ends_with(path, str_lit(".rc"))) {
gb_printf_err("Invalid -resource path, missing .rc\n", LIT(path));
gb_printf_err("Invalid -resource path %.*s, missing .rc\n", LIT(path));
bad_flags = true;
break;
}