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

MSVC warnings in binary_to_compressed_c.cpp #5359

Closed
Blinue opened this issue May 31, 2022 · 1 comment
Closed

MSVC warnings in binary_to_compressed_c.cpp #5359

Blinue opened this issue May 31, 2022 · 1 comment
Labels

Comments

@Blinue
Copy link

Blinue commented May 31, 2022

Version/Branch of Dear ImGui:

Version: 1.87
Branch: master

Back-end/Renderer/Compiler/OS

Compiler: MSVC
Operating System: Windows

My Issue/Question:

Got warnings when compiling as x64 (build via Conan)

Warning: ...\misc\fonts\binary_to_compressed_c.cpp(263,28): warning C4244: '=': conversion from '__int64' to 'stb_uint', possible loss of data
Warning: ...\misc\fonts\binary_to_compressed_c.cpp(280,31): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data 
Warning: ...\misc\fonts\binary_to_compressed_c.cpp(280,31): warning C4244: '=': conversion from '__int64' to 'int', possible loss of data 
Warning: ...\misc\fonts\binary_to_compressed_c.cpp(282,63): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data 
...
@ocornut
Copy link
Owner

ocornut commented May 31, 2022

Pushed fixes, thank you!

@ocornut ocornut closed this as completed May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants