Code

screen_interface: make cols/rows unsigned
[ncmpc.git] / src / screen_interface.h
index 40796bc33c769ee305ec196f2dbb763723727997..82962420f8c064ce11a90ae3e14e6e7b2910d31d 100644 (file)
 struct mpdclient;
 
 struct screen_functions {
-       void (*init)(WINDOW *w, int cols, int rows);
+       void (*init)(WINDOW *w, unsigned cols, unsigned rows);
        void (*exit)(void);
        void (*open)(struct mpdclient *c);
        void (*close)(void);
-       void (*resize)(int cols, int rows);
+       void (*resize)(unsigned cols, unsigned rows);
        void (*paint)(void);
        void (*update)(struct mpdclient *c);