summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc_gui.c2
-rw-r--r--resize_window_widgets.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 315bab533..10f53f701 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 a593e45b0..047d0d45b 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