fix format warning on mingw
Since we use gnu_printf format on mingw, the windows "I" modifier is no longer recognized by the format checker. Use "ll" instead. Meanwhile, MSVC understands that as well.
This commit is contained in:
@@ -382,7 +382,7 @@ void fdRegId::show(unsigned level) const
|
||||
if (level > 1u) {
|
||||
printf("\tfd = %"
|
||||
#if defined(_WIN32)
|
||||
"I"
|
||||
"ll"
|
||||
#endif
|
||||
"d, type = %d\n",
|
||||
fd, type);
|
||||
|
||||
Reference in New Issue
Block a user