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

imgui_stdlib: Fix warning #6658

Merged
merged 1 commit into from
Jul 28, 2023
Merged

Conversation

JohelEGP
Copy link
Contributor

Based on commit 8a6911b,
this fixes a warning in imgui_stdlib:

-- The CXX compiler identification is Clang 17.0.0
/imgui/misc/cpp/imgui_stdlib.cpp:29:27: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
   29 |         str->resize(data->BufTextLen);
      |              ~~~~~~ ~~~~~~^~~~~~~~~~
1 warning generated.

@ocornut ocornut merged commit 556ce9f into ocornut:master Jul 28, 2023
@ocornut
Copy link
Owner

ocornut commented Jul 28, 2023

Merged, Thank you!

@JohelEGP JohelEGP deleted the Wsign-conversion branch July 28, 2023 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants