Przeglądaj źródła

docs: Documentation for SDL_Swap64 was reporting the wrong return type.

Fixes #13309.
Ryan C. Gordon 3 tygodni temu
rodzic
commit
530639aa4a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      include/SDL3/SDL_endian.h

+ 1 - 1
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.
  * \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.
  * Swap a 16-bit value from littleendian to native byte order.