Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed for windows 32 programs (i686) #51

Open
bigdogs opened this issue Oct 28, 2022 · 0 comments
Open

build failed for windows 32 programs (i686) #51

bigdogs opened this issue Oct 28, 2022 · 0 comments

Comments

@bigdogs
Copy link

bigdogs commented Oct 28, 2022

cargo b --release --example demo --target i686-pc-windows-msvc

error[E0308]: mismatched types
    --> C:\Users\Admin\.cargo\registry\src\github.com-1ecc6299db9ec823\miniquad-0.3.13\src\native\windows.rs:887:47
     |
887  |         SetWindowLongPtrA(wnd, GWLP_USERDATA, &mut p as *mut _ as isize);
     |         -----------------                     ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `isize`
     |         |
     |         arguments to this function are incorrect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant