https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94258
Bug ID: 94258 Summary: Warning Correction while using format specifiers %hx and %ho Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ravivasani75 at gmail dot com Target Milestone: --- Created attachment 48079 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48079&action=edit outputs are 'short int's, but warning is specifying that %hx and %ho need 'int' argument Warning informs that %hx and %ho need 'int' argument, but printf prints it as 'short int'