浏览代码

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

Fixes #13309.
Ryan C. Gordon 4 周之前
父节点
当前提交
530639aa4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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.
  */
-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.