SDL_SINT64_C - Man Page

Append the 64 bit integer suffix to a signed integer literal.

Header File

Defined in SDL3/SDL_stdinc.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_SINT64_C(c)  c ## LL  /* or whatever the current compiler uses. */

Description

This helps compilers that might believe a integer literal larger than 0xFFFFFFFF is overflowing a 32-bit value. Use SDL_SINT64_C(0xFFFFFFFF1) instead of 0xFFFFFFFF1 by itself.

Availability

This macro is available since SDL 3.2.0.

See Also

·(3), SDL_UINT64_C(3)

Referenced By

SDL_UINT64_C(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS