From 33a7795de1bae753eab4dd9d8d1e6a1e4b046978 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Thu, 18 Jul 2024 03:12:38 +0200 Subject: [PATCH] fix RFNM source on MacOS --- source_modules/rfnm_source/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source_modules/rfnm_source/src/main.cpp b/source_modules/rfnm_source/src/main.cpp index 33ad7f8b..f7722c8d 100644 --- a/source_modules/rfnm_source/src/main.cpp +++ b/source_modules/rfnm_source/src/main.cpp @@ -168,7 +168,7 @@ private: if (path == RFNM_PATH_NULL) { continue; } // Get the path - PathConfig pc = { path, offset + i, (1 << (offset + i + 8))}; + PathConfig pc = { path, offset + i, (uint16_t)(1 << (offset + i + 8))}; // If it's not in the list, add it if (!paths.valueExists(pc)) {