Closed smcv closed 8 months ago
6d91bf78 has this:
} #if DEBUG - SDL_Log("%.8" SDL_PRIs64 ": %s(%u): %u\n", SDL_RWtell (src), prop->id < 25 ? prop_names [prop->id] : "unknown", prop->id, prop->length); + SDL_Log("%.8" SDL_PRIu32 ": %s(%u): %u\n", SDL_RWtell (src), prop->id < 25 ? prop_names [prop->id] : "unknown", prop->id, prop->length); #endif switch (prop->id) {
which seems wrong? SDL_RWtell() returns Sint64, so I would have expected SDL_PRIs64 to be correct.
SDL_RWtell()
Sint64
SDL_PRIs64
(This is a drive-by comment while updating the snapshot of SDL3 in Debian experimental, I haven't actually tried compiling with debug enabled.)
cc @madebr
Oops. Thanks for the drive-by comment :)
I fixed this in 2487900
6d91bf78 has this:
which seems wrong?
SDL_RWtell()
returnsSint64
, so I would have expectedSDL_PRIs64
to be correct.(This is a drive-by comment while updating the snapshot of SDL3 in Debian experimental, I haven't actually tried compiling with debug enabled.)
cc @madebr