https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85139
--- Comment #2 from Martin Sebor ---
To avoid the warning, cast the argument of the %04X directive to unsigned
short:
snprintf(s, sizeof(s), "usb:v%04Xp%04X*", (unsigned short)vn, (unsigned
short)pn);
(Note that even though casting an int to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85139
Richard Biener changed:
What|Removed |Added
Target|aarch64-bec-linux |aarch64-bec-linux,
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85139
Andrew Pinski changed:
What|Removed |Added
Keywords||diagnostic
Component|c