From 5b64be0810ddd3397c2f667524c7695a1a83e3ec Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 2 Jul 2025 09:28:53 -0400 Subject: [PATCH] docs: Documentation for SDL_Swap64 was reporting the wrong return type. Fixes #13309. (cherry picked from commit 530639aa4a72f6480b2c8caac7ca75cd005fe8bc) --- include/SDL3/SDL_endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_endian.h b/include/SDL3/SDL_endian.h index a34e9d4b09..2a9b8a34d8 100644 --- a/include/SDL3/SDL_endian.h +++ b/include/SDL3/SDL_endian.h @@ -486,7 +486,7 @@ SDL_FORCE_INLINE Uint32 SDL_Swap32(Uint32 x) { return x_but_byteswapped; } * * \since This function is available since SDL 3.2.0. */ -SDL_FORCE_INLINE Uint32 SDL_Swap64(Uint64 x) { return x_but_byteswapped; } +SDL_FORCE_INLINE Uint64 SDL_Swap64(Uint64 x) { return x_but_byteswapped; } /** * Swap a 16-bit value from littleendian to native byte order.