diff --git a/misc_gui.c b/misc_gui.c index 315bab533f..10f53f7017 100644 --- a/misc_gui.c +++ b/misc_gui.c @@ -1876,7 +1876,7 @@ void ShowCheatWindow(void) * @param horizontal Tells how far to the right the widgets should be moved (note: negative moves left) * @param vertical Tells how far down the widgets should be moved (note: negative moves up) */ -void ResizeWindowWidgets(Window *w, const byte *resizearray, byte length, byte horizontal, byte vertical) +void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical) { byte i; diff --git a/resize_window_widgets.h b/resize_window_widgets.h index a593e45b0a..047d0d45b5 100644 --- a/resize_window_widgets.h +++ b/resize_window_widgets.h @@ -26,6 +26,6 @@ enum { WIDGET_MOVE_DOWN_STRETCH_RIGHT = WIDGET_MOVE_DOWN | WIDGET_STRETCH_RIGHT, }; -void ResizeWindowWidgets(Window *w, const byte *resizearray, byte length, byte horizontal, byte vertical); +void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical); #endif