1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

math: fix const warnings

This commit is contained in:
Alexander Medvednikov
2019-09-16 21:26:05 +03:00
parent ff009f1c4e
commit 19b04d5427
3 changed files with 20 additions and 20 deletions

View File

@@ -414,7 +414,7 @@ fn (p mut Parser) fn_decl() {
p.genln('init_consts();')
if 'os' in p.table.imports {
if f.name == 'main' {
p.genln('os__args = os__init_os_args(argc, argv);')
p.genln('os__args = os__init_os_args(argc, (byteptr*)argv);')
}
else if f.name == 'WinMain' {
p.genln('os__args = os__parse_windows_cmd_line(pCmdLine);')