aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-22 10:39:01 +0200
committerMax Kellermann <max@duempel.org>2008-09-22 10:39:01 +0200
commit93f8b6593ea4d42b630acf8e3237265c1c50b570 (patch)
treeb61b994160f6b6ded70219b8c24f8707f8649845 /src/screen.h
parentfdb5dfccf904731fc8494946fe79416661207ff3 (diff)
downloadmpd-93f8b6593ea4d42b630acf8e3237265c1c50b570.tar.gz
mpd-93f8b6593ea4d42b630acf8e3237265c1c50b570.tar.xz
mpd-93f8b6593ea4d42b630acf8e3237265c1c50b570.zip
screen: unsigned integers for screen dimensions
Store screen width and height as unsigned integer.
Diffstat (limited to 'src/screen.h')
-rw-r--r--src/screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.h b/src/screen.h
index 2a38c07a9..91ee26447 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -15,7 +15,7 @@
struct window {
WINDOW *w;
- int rows, cols;
+ unsigned rows, cols;
};
typedef struct screen {
@@ -30,7 +30,7 @@ typedef struct screen {
command_t last_cmd;
- int cols, rows;
+ unsigned cols, rows;
int mode;