Skip to content
Snippets Groups Projects
Commit 5a68b6ad authored by Philipp Matthias Schaefer's avatar Philipp Matthias Schaefer
Browse files

Cast unsigned literals to signed integers.

This makes it explicity that we know the literals are to large and
will result in a negative number. This gets rid of a warning in
1.9.0 and younger versions, as well as an error when using the
constants as discrimintants of #[repr(i32)] enumerations in older
versions.
parent 16f3a8e9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment