Skip to content

Commit cfcfac8

Browse files
authored
Fix function signature for emscripten_memcpy_big (#17212)
Change it in standalone.c to match emscripten_memcpy.c, as it was changed there in #16604. Fixes #17208.
1 parent 65ef52e commit cfcfac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/standalone/standalone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ int getentropy(void* buffer, size_t length) {
118118
extern void emscripten_notify_memory_growth(size_t memory_index);
119119

120120
// Should never be called in standalone mode
121-
void *emscripten_memcpy_big(void *restrict dest, const void *restrict src, size_t n) {
121+
void emscripten_memcpy_big(void *restrict dest, const void *restrict src, size_t n) {
122122
__builtin_unreachable();
123123
}
124124

0 commit comments

Comments
 (0)