Skip to content

Commit 530639a

Browse files
committed
docs: Documentation for SDL_Swap64 was reporting the wrong return type.
Fixes #13309.
1 parent 2606b08 commit 530639a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/SDL3/SDL_endian.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ SDL_FORCE_INLINE Uint32 SDL_Swap32(Uint32 x) { return x_but_byteswapped; }
486486
*
487487
* \since This function is available since SDL 3.2.0.
488488
*/
489-
SDL_FORCE_INLINE Uint32 SDL_Swap64(Uint64 x) { return x_but_byteswapped; }
489+
SDL_FORCE_INLINE Uint64 SDL_Swap64(Uint64 x) { return x_but_byteswapped; }
490490

491491
/**
492492
* Swap a 16-bit value from littleendian to native byte order.

0 commit comments

Comments
 (0)