forked from AOMediaCodec/libavif
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the %u format specifier with uint32_t arguments. Cast an enum type to int and use the %d format specifier with it. The underlying type of an enum type is implementation-defined. GCC uses unsigned int whenever possible, whereas MSVC always uses int. So there is no portable format specifier for an enum type. Since all enum constants have the int type (this is not implementation-defined), it is safe to cast an enum type to int and use the %d format specifier with it.
- Loading branch information
1 parent
d486dad
commit 2eb35fc
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters