Skip to content

Commit e08c845

Browse files
Compatibility issue on ARM platform like Teensy
Solve a problem due to a type issue on sel var which is compile as an unsigned int under ARM where it should be a signed int.
1 parent ea1eb9d commit e08c845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/menu.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ v2.1 - Add full support of SetPosition(x,y) to move the menu inside the screen (
164164
quit
165165
};
166166
const int sz;
167-
int sel;//selection
167+
signed int sel;//selection
168168
prompt* const* data;
169169
bool canExit;//store last canExit value for inner reference
170170
menu(const char * text,int sz,prompt* const data[]):menuNode(text),sz(sz),data(data),canExit(false) {}

0 commit comments

Comments
 (0)