diff options
author | Max Kellermann <max@duempel.org> | 2008-09-22 10:39:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-22 10:39:01 +0200 |
commit | 93f8b6593ea4d42b630acf8e3237265c1c50b570 (patch) | |
tree | b61b994160f6b6ded70219b8c24f8707f8649845 /src/screen_utils.c | |
parent | fdb5dfccf904731fc8494946fe79416661207ff3 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/screen_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c index 301c791c3..c6bfb543c 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -215,10 +215,10 @@ void screen_display_completion_list(screen_t *screen, GList *list) { static GList *prev_list = NULL; - static gint prev_length = 0; - static gint offset = 0; + static guint prev_length = 0; + static guint offset = 0; WINDOW *w = screen->main_window.w; - gint length, y=0; + guint length, y=0; length = g_list_length(list); if (list == prev_list && length == prev_length) { |