Fix make error messages

This commit is contained in:
gingerBill
2018-08-08 23:07:51 +01:00
parent 3928614326
commit 877a78d6ba
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ _alloc_command_line_arguments :: proc() -> []string {
olen := win32.wide_char_to_multi_byte(win32.CP_UTF8, 0, wc_str, -1,
nil, 0, nil, nil);
buf := make([]byte, olen);
buf := make([]byte, int(olen));
n := win32.wide_char_to_multi_byte(win32.CP_UTF8, 0, wc_str, -1,
cstring(&buf[0]), olen, nil, nil);
if n > 0 {