Browse Source

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

so that the declaration matches the definition.
Ozkan Sezer 4 years ago
parent
commit
fc795f89d3
1 changed files with 1 additions and 1 deletions
  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