mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
Add raw_data to replace cases in which &x[0] was used
This commit is contained in:
@@ -322,7 +322,7 @@ _alloc_command_line_arguments :: proc() -> []string {
|
||||
|
||||
buf := make([]byte, int(olen));
|
||||
n := win32.WideCharToMultiByte(win32.CP_UTF8, 0, wc_str, -1,
|
||||
&buf[0], olen, nil, nil);
|
||||
raw_data(buf), olen, nil, nil);
|
||||
if n > 0 {
|
||||
n -= 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user