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

Eliminate warnings with explicit casts #105

Open
jesko42 opened this issue Mar 23, 2023 · 0 comments
Open

Eliminate warnings with explicit casts #105

jesko42 opened this issue Mar 23, 2023 · 0 comments

Comments

@jesko42
Copy link

jesko42 commented Mar 23, 2023

Hello,

with VisualStudio 2019 I encounter the following warning package:

2>MiniFB_common.c
2>D:\git\minifb\src\MiniFB_common.c(171,59): warning C4244: "Funktion": Konvertierung von "float" in "unsigned int", möglicher Datenverlust
2>D:\git\minifb\src\MiniFB_common.c(171,79): warning C4244: "Funktion": Konvertierung von "float" in "unsigned int", möglicher Datenverlust
2>D:\git\minifb\src\MiniFB_common.c(171,101): warning C4244: "Funktion": Konvertierung von "float" in "unsigned int", möglicher Datenverlust
2>D:\git\minifb\src\MiniFB_common.c(171,124): warning C4244: "Funktion": Konvertierung von "float" in "unsigned int", möglicher Datenverlust
2>D:\git\minifb\src\MiniFB_common.c(164,1): warning C4244: "Initialisierung": Konvertierung von "float" in "unsigned int", möglicher Datenverlust
2>D:\git\minifb\src\MiniFB_common.c(165,1): warning C4244: "Initialisierung": Konvertierung von "float" in "unsigned int", möglicher Datenverlust

Would be nice to compile without warnings after fresh pull ;-) This increases overall project healthyness ... thanks!

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