os: fix some C compiler warnings for windows (#10506)

This commit is contained in:
Bastian Buck 2021-06-18 19:07:25 +02:00 committed by GitHub
parent d56ae2d508
commit acf9d168cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View file

@ -246,7 +246,7 @@ fn C.RegSetValueExW(hKey voidptr, lpValueName &u16, Reserved u32, dwType u32, lp
fn C.RegCloseKey(hKey voidptr)
fn C.RemoveDirectory(lpPathName &char) int
fn C.RemoveDirectory(lpPathName &u16) int
// fn C.GetStdHandle() voidptr
fn C.GetStdHandle(u32) voidptr