summaryrefslogtreecommitdiff
path: root/src/extras
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-10-04 22:39:54 +0300
committereray orçunus <erayorcunus@gmail.com>2020-10-04 22:39:54 +0300
commit8c170a62ee5960bcb752630807101efd67d76e00 (patch)
tree1f8d60c06806a7dc8a5d398ac4282bf32f9b075f /src/extras
parentea4007a13c844007b5b5ad06b6e01941cbd66e10 (diff)
Fix some sanitizer errors, improve POSIX streamer
Diffstat (limited to 'src/extras')
-rw-r--r--src/extras/frontendoption.cpp2
1 files changed, 1 insertions, 1 deletions
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;