From 8c170a62ee5960bcb752630807101efd67d76e00 Mon Sep 17 00:00:00 2001 From: eray orçunus Date: Sun, 4 Oct 2020 22:39:54 +0300 Subject: Fix some sanitizer errors, improve POSIX streamer --- src/extras/frontendoption.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extras') diff --git a/src/extras/frontendoption.cpp b/src/extras/frontendoption.cpp index ed8aa2a9..88a930a9 100644 --- a/src/extras/frontendoption.cpp +++ b/src/extras/frontendoption.cpp @@ -56,7 +56,7 @@ GetNumberOfMenuOptions(int screen) uint8 GetLastMenuScreen() { - uint8 page = -1; + int8 page = -1; for (int i = 0; i < MENUPAGES; i++) { if (strcmp(aScreens[i].m_ScreenName, "") == 0 && aScreens[i].unk == 0) break; -- cgit v1.2.3