melonDS
melonDS copied to clipboard
Wifi: Fix -Wformat
This PR fixes -Wformat warnings.
The first change adds what I believe is the correct variable to the printf statement -- there is one less argument than there should be.
The other changes may be architecture dependent. I am on a musl-based Linux amd64 distro.
The other changes would be wrong on Windows where long is 32 bits rather than 64 bits. long long is needed for 64 bits on Windows (and would be fine on Linux anyways as that's also 64 bits, more just a silly warning). You probably could just cast the variable to unsigned long long
to supress the warning on Linux.
@CasualPokePlayer I've just force pushed to only include the first fix.
@Arisotura @nadiaholmquist any thoughts?
This fixes a QA notice on Gentoo, can it please be merged?