From f188c2cf1a275dbe9d79683e3d66b765eb816804 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Fri, 3 Nov 2023 21:33:13 +0100 Subject: hopefully get the compiler to shut up --- src/frontend/qt_sdl/ROMManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/qt_sdl/ROMManager.cpp b/src/frontend/qt_sdl/ROMManager.cpp index 19ae954..8a54e05 100644 --- a/src/frontend/qt_sdl/ROMManager.cpp +++ b/src/frontend/qt_sdl/ROMManager.cpp @@ -937,7 +937,7 @@ void LoadUserSettingsFromConfig(Firmware& firmware) bool rep = false; auto& header = firmware.GetHeader(); - memcpy(&mac, header.MacAddress.data(), sizeof(MacAddress)); + memcpy(&mac, header.MacAddr.data(), sizeof(MacAddress)); MacAddress configuredMac; @@ -961,7 +961,7 @@ void LoadUserSettingsFromConfig(Firmware& firmware) if (rep) { mac[0] &= 0xFC; // ensure the MAC isn't a broadcast MAC - header.MacAddress = mac; + header.MacAddr = mac; header.UpdateChecksum(); } -- cgit v1.2.3