mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
Fix some warnings in win32 ffi
This commit is contained in:
parent
a479b2f60c
commit
4c674ef843
|
@ -1,7 +1,7 @@
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
#![allow(non_uppercase_statics)]
|
#![allow(non_upper_case_globals)]
|
||||||
|
|
||||||
use libc;
|
use libc;
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ pub const CS_SAVEBITS: DWORD = 0x0800;
|
||||||
pub const CS_VREDRAW: DWORD = 0x0001;
|
pub const CS_VREDRAW: DWORD = 0x0001;
|
||||||
|
|
||||||
// ?
|
// ?
|
||||||
#[allow(type_overflow)]
|
#[allow(overflowing_literals)]
|
||||||
pub const CW_USEDEFAULT: libc::c_int = 0x80000000;
|
pub const CW_USEDEFAULT: libc::c_int = 0x80000000;
|
||||||
|
|
||||||
// ?
|
// ?
|
||||||
|
|
Loading…
Reference in a new issue