diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 13:27:30 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 13:27:30 +0200 |
commit | e7981e0e28541e5046c40879a4fdbcc308f143ec (patch) | |
tree | 86a4fe788f692321e6a6fbaff8d83708ba764234 /src/screen_file.c | |
parent | 6e81a1b3e08a423c6f4c6976aecae915bd1a3f0b (diff) | |
download | mpd-e7981e0e28541e5046c40879a4fdbcc308f143ec.tar.gz mpd-e7981e0e28541e5046c40879a4fdbcc308f143ec.tar.xz mpd-e7981e0e28541e5046c40879a4fdbcc308f143ec.zip |
use size_t and unsigned integers
Diffstat (limited to '')
-rw-r--r-- | src/screen_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index ab2af0713..c00ccba44 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -147,7 +147,7 @@ playlist_changed_callback(mpdclient_t *c, int event, gpointer data) /* list_window callback */ const char * -browse_lw_callback(int idx, int *highlight, void *data) +browse_lw_callback(unsigned idx, int *highlight, void *data) { static char buf[BUFSIZE]; mpdclient_filelist_t *fl = (mpdclient_filelist_t *) data; @@ -645,7 +645,7 @@ browse_handle_mouse_event(screen_t *screen, mpdclient_filelist_t *fl) { int row; - int prev_selected = local_lw->selected; + unsigned prev_selected = local_lw->selected; unsigned long bstate; int length; |