![]() == DETAILS So, basically this back-and-forth is because we used fixed-size data types (i.e. `uint32_t`) which maps to different primitive data types on different platforms. So `uint32_t` might be a `long` on some platforms (e.g. Wii U), while it's just a plain integer on others (PC). And the format specifier works off primitive data type, not data type size. So, to resolve this, we: - keep `%lx` as the format specifier - cast the parameter to printf to unsigned long This is better than the alternatives that could cause problems trying to cast a long down to an int. |
||
---|---|---|
.. | ||
netplay | ||
discord.h | ||
net_http_special.c | ||
net_http_special.h | ||
net_logger.c |