SDL: PSP: Fix `Wformat` warnings.

From c1317175b4c85aade561dbb20cc6248e363d339a Mon Sep 17 00:00:00 2001
From: Pierre Wendling <[EMAIL REDACTED]>
Date: Mon, 10 Oct 2022 22:02:17 -0400
Subject: [PATCH] PSP: Fix `Wformat` warnings.

---
 src/thread/psp/SDL_sysmutex.c | 8 ++++----
 test/testgl2.c                | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/thread/psp/SDL_sysmutex.c b/src/thread/psp/SDL_sysmutex.c
index 9e391629adf5..d672ec51699f 100644
--- a/src/thread/psp/SDL_sysmutex.c
+++ b/src/thread/psp/SDL_sysmutex.c
@@ -57,7 +57,7 @@ SDL_CreateMutex(void)
         );
 
         if (res < 0) {
-            SDL_SetError("Error trying to create mutex: %x", res);
+            SDL_SetError("Error trying to create mutex: %lx", res);
         }
     } else {
         SDL_OutOfMemory();
@@ -96,7 +96,7 @@ SDL_TryLockMutex(SDL_mutex * mutex)
             return SDL_MUTEX_TIMEDOUT;
             break;
         default:
-            return SDL_SetError("Error trying to lock mutex: %x", res);
+            return SDL_SetError("Error trying to lock mutex: %lx", res);
             break;
     }
 
@@ -119,7 +119,7 @@ SDL_mutexP(SDL_mutex * mutex)
 
     res = sceKernelLockLwMutex(&mutex->lock, 1, NULL);
     if (res != SCE_KERNEL_ERROR_OK) {
-        return SDL_SetError("Error trying to lock mutex: %x", res);
+        return SDL_SetError("Error trying to lock mutex: %lx", res);
     }
 
     return 0;
@@ -141,7 +141,7 @@ SDL_mutexV(SDL_mutex * mutex)
 
     res = sceKernelUnlockLwMutex(&mutex->lock, 1);
     if (res != 0) {
-        return SDL_SetError("Error trying to unlock mutex: %x", res);
+        return SDL_SetError("Error trying to unlock mutex: %lx", res);
     }
 
     return 0;
diff --git a/test/testgl2.c b/test/testgl2.c
index 6eb439cb1e5e..f259ddc93be5 100644
--- a/test/testgl2.c
+++ b/test/testgl2.c
@@ -302,7 +302,7 @@ main(int argc, char *argv[])
     }
 
     SDL_GetCurrentDisplayMode(0, &mode);
-    SDL_Log("Screen BPP    : %d\n", SDL_BITSPERPIXEL(mode.format));
+    SDL_Log("Screen BPP    : %" SDL_PRIu32 "\n", SDL_BITSPERPIXEL(mode.format));
     SDL_Log("Swap Interval : %d\n", SDL_GL_GetSwapInterval());
     SDL_GetWindowSize(state->windows[0], &dw, &dh);
     SDL_Log("Window Size   : %d,%d\n", dw, dh);