Fix make error messages
This commit is contained in:
1 parent
3928614326
commit
877a78d6ba
4 files changed
+8
-7
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user