X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fclient%2Fwindows.h;h=872fe13a4b37f22abeeaa3ea7b1698cd639dbb62;hb=cdb90723dd636591bcfa98ebb165cf74a0cdeec7;hp=92a35a1d93b96ca00e1efc645e81d9b22f00ee16;hpb=f9c94db47aa883149aa762fa128ac1ff1b3f92e1;p=plomrogue
diff --git a/src/client/windows.h b/src/client/windows.h
index 92a35a1..872fe13 100644
--- a/src/client/windows.h
+++ b/src/client/windows.h
@@ -25,7 +25,7 @@
#define WINDOWS_H
#include /* WINDOW, chtype */
-#include /* uint8_t, int16_t, uint16_t */
+#include /* uint8_t, int16_t, uint16_t, uint32_t */
#include "../common/yx_uint16.h" /* yx_uint16 struct */
#include "keybindings.h" /* struct KeyBindingDB */
@@ -66,7 +66,7 @@ struct Win
/* Return yx offset to focus map of "mapsize" on "position" in "frame_size". */
extern uint16_t center_offset(uint16_t position,
- uint16_t mapsize, uint16_t frame_size);
+ uint32_t mapsize, uint32_t frame_size);
/* Get Win of "id". */
extern struct Win * get_win_by_id(char id);