Use proper format specifier for size_t value in ipc sample

"%d" can't be used for size_t which may be of greater size than int, so use
"%lu" with a cast to unsigned long, as is done elsewhere because "%z" is
unfortunately not portable.

Closes #17255.
This commit is contained in:
Vadim Zeitlin 2015-11-15 00:27:09 +01:00
parent b8c8cb2770
commit 351103cc45

View File

@ -69,7 +69,7 @@ protected:
break;
}
wxLogMessage("%s,%d)", s, size);
wxLogMessage("%s,%lu)", s, (unsigned long)size);
}
};