Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Explicitly cast int literals to int8_t in tests to silence implicit-conversion warnings #1455

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

Merged
merged 3 commits into from
Aug 4, 2022

Conversation

oontvoo
Copy link
Member

@oontvoo oontvoo commented Aug 3, 2022

Error came from:

: error: implicit conversion loses integer precision: 'const int' to 'const signed char' [-Werror,-Wimplicit-int-conversion]

…onversion warnings

Error came from:
```
: error: implicit conversion loses integer precision: 'const int' to 'const signed char' [-Werror,-Wimplicit-int-conversion]
```
@oontvoo
Copy link
Member Author

oontvoo commented Aug 3, 2022

@dominichamon

@oontvoo oontvoo changed the title Explicitly cast int literals to int8_t in tests so silence implicit-conversion warnings Explicitly cast int literals to int8_t in tests to silence implicit-conversion warnings Aug 3, 2022
@dmah42 dmah42 merged commit 5eb16ee into google:main Aug 4, 2022
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

Successfully merging this pull request may close these issues.

2 participants