-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #30: avoid compile warnings due to printf format
When using printf-style format conversions one must generally cast the argument to the intended type, as it does not happen implicitly with variable-argument functions. In particular the existing code worked on the default (native) build but generated warnings when building on RTEMS for a 32-bit x86 target.
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 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