From effdacd13bb22fd767b614b493759b53fcc17881 Mon Sep 17 00:00:00 2001 From: jimhub Date: Tue, 9 Dec 2025 09:28:32 -0700 Subject: [PATCH] Fix function signature for memmove to prevent errors when compiling C++ while targeting wasm (#5996) --- vendor/libc/include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/libc/include/string.h b/vendor/libc/include/string.h index 7e5e2b252..6d947858f 100644 --- a/vendor/libc/include/string.h +++ b/vendor/libc/include/string.h @@ -8,7 +8,7 @@ extern "C" { void *memcpy(void *, const void *, size_t); void *memset(void *, int, size_t); -void *memmove(void *, void *, size_t); +void *memmove(void *, const void *, size_t); int memcmp(const void *, const void *, size_t); void *memchr(const void *, int, size_t);