From fc795f89d35bd9f18b7019ef7a1caba7b6df76ae Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Tue, 13 Oct 2020 05:20:00 +0300 Subject: [PATCH] SDL_cpuinfo.h: add missing const to size parameter of SDL_SIMDRealloc() so that the declaration matches the definition. --- include/SDL_cpuinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h index 56908d754..df3123c00 100644 --- a/include/SDL_cpuinfo.h +++ b/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