aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_file.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 13:27:30 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 13:27:30 +0200
commite7981e0e28541e5046c40879a4fdbcc308f143ec (patch)
tree86a4fe788f692321e6a6fbaff8d83708ba764234 /src/screen_file.c
parent6e81a1b3e08a423c6f4c6976aecae915bd1a3f0b (diff)
downloadmpd-e7981e0e28541e5046c40879a4fdbcc308f143ec.tar.gz
mpd-e7981e0e28541e5046c40879a4fdbcc308f143ec.tar.xz
mpd-e7981e0e28541e5046c40879a4fdbcc308f143ec.zip
use size_t and unsigned integers
Diffstat (limited to 'src/screen_file.c')
-rw-r--r--src/screen_file.c4
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;