From a925e9304aeda8010ea012e5d4afb98056135e61 Mon Sep 17 00:00:00 2001 From: xaedes Date: Mon, 28 Aug 2023 19:16:27 +0200 Subject: [PATCH] fix non-windows GGML_ALIGNED_REALLOC --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 118104084..e7ab22eb3 100644 --- a/ggml.c +++ b/ggml.c @@ -223,7 +223,7 @@ inline static void * ggml_aligned_realloc(void * ptr, size_t old_size, size_t si return result; } #define GGML_ALIGNED_MALLOC(size) ggml_aligned_malloc(size) -#define GGML_ALIGNED_REALLOC(ptr, old_size, size) ggml_aligned_realloc(size) +#define GGML_ALIGNED_REALLOC(ptr, old_size, size) ggml_aligned_realloc(ptr, old_size, size) #define GGML_ALIGNED_FREE(ptr) free(ptr) #endif