Explorar o código

SDL_cpuinfo.h: add missing const to size parameter of SDL_SIMDRealloc()

so that the declaration matches the definition.
Ozkan Sezer %!s(int64=5) %!d(string=hai) anos
pai
achega
fc795f89d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/SDL_cpuinfo.h

+ 1 - 1
include/SDL_cpuinfo.h

@@ -271,7 +271,7 @@ extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len);
  * \sa SDL_SIMDAlloc
  * \sa SDL_SIMDFree
  */
-extern DECLSPEC void * SDLCALL SDL_SIMDRealloc(void *mem, size_t len);
+extern DECLSPEC void * SDLCALL SDL_SIMDRealloc(void *mem, const size_t len);
 
 /**
  * \brief Deallocate memory obtained from SDL_SIMDAlloc