From 63e12cf6011c36e399e43ca949fb0ea057afeb73 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Mon, 6 Jun 2022 22:55:56 +0300 Subject: [PATCH] SDL_windows_main.c: replace CopyMemory() with SDL_memcpy() --- src/main/windows/SDL_windows_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/windows/SDL_windows_main.c b/src/main/windows/SDL_windows_main.c index 056787e40..70fb9b9b7 100644 --- a/src/main/windows/SDL_windows_main.c +++ b/src/main/windows/SDL_windows_main.c @@ -70,7 +70,7 @@ main_getcmdline(void) if (!argv[i]) { return OutOfMemory(); } - CopyMemory(argv[i], arg, len); + SDL_memcpy(argv[i], arg, len); SDL_free(arg); } argv[i] = NULL;