From 908c0e2cd50f6fc1023e64fead9f182e4849be0c Mon Sep 17 00:00:00 2001 From: Mark Thompson <129641948+NotherNgineer@users.noreply.github.com> Date: Thu, 7 Mar 2024 10:18:08 -0600 Subject: [PATCH] Fix compiler warning (#1952) --- firmware/application/external/calculator/ivt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/external/calculator/ivt.hpp b/firmware/application/external/calculator/ivt.hpp index f258bb0b..8259c369 100644 --- a/firmware/application/external/calculator/ivt.hpp +++ b/firmware/application/external/calculator/ivt.hpp @@ -1867,7 +1867,7 @@ static byte menuselect(byte lines) { // Selection (1 line = 16 items) // *** S T A C K static void floatstack() { - memcpy(ds, &ds[1], (DATASTACKSIZE - 1) * sizeof(double)); + memmove(ds, &ds[1], (DATASTACKSIZE - 1) * sizeof(double)); dp--; }