(svn r24780) -Fix [FS#5378]: passing an int to a function expecting a byte can have side effects when MSVC optimises it
This commit is contained in:
@@ -463,7 +463,7 @@ public:
|
||||
}
|
||||
|
||||
void UnfocusFocusedWidget();
|
||||
bool SetFocusedWidget(byte widget_index);
|
||||
bool SetFocusedWidget(int widget_index);
|
||||
|
||||
EventState HandleEditBoxKey(int wid, uint16 key, uint16 keycode);
|
||||
|
||||
|
Reference in New Issue
Block a user