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

thread_win32.c:55:16: error: cast from 'void*' to 'UINT' {aka 'unsigned int'} loses precision #533

Open
dreamingh opened this issue Nov 1, 2024 · 0 comments

Comments

@dreamingh
Copy link

C:\Users\Administrator\Downloads\libIEC61850-master\libIEC61850-master\src\hal\thread\win32\thread_win32.c:55:16: error: cast from 'void*' to 'UINT' {aka 'unsigned int'} loses precision [-fpermissive]
55 | return (UINT) thread->function(thread->parameter);
When I try to make it at windows by mscv or mingw32 ,this make the system could not compile.It is look like something error make it turn to this way,but there is no exit_error in Windows
this wrong is going on when I delete all the "goto exit_error"

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