introduce new printf format macros SDL_PRISZu, SDL_PRISZx and SDL_PRISZX

This commit is contained in:
Ozkan Sezer
2026-07-13 21:05:50 +03:00
committed by Özkan Sezer
parent 1f188100bc
commit a6c294410e
3 changed files with 89 additions and 25 deletions

View File

@@ -480,7 +480,7 @@ static bool ParseDescriptor(DescriptorContext *ctx, const Uint8 *descriptor, siz
}
#ifdef DEBUG_DESCRIPTOR
SDL_Log("Data: 0x%.2x, size: %d, type: %d, tag: %d", data, (int)size, type, tag);
SDL_Log("Data: 0x%.2x, size: %" SDL_PRISZu ", type: %d, tag: %d", data, size, type, tag);
#endif
switch (type) {
case DescriptorItemTypeMain: