--- src/command.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/command.c b/src/command.c index 7f30391..c031d99 100644 --- a/src/command.c +++ b/src/command.c @@ -835,7 +835,7 @@ cmd_pause(mpd_unused int argc, mpd_unused char **argv, struct mpd_connection *co int cmd_repeat ( int argc, char ** argv, struct mpd_connection *conn ) { - bool mode; + int mode; if(argc==1) { mode = get_boolean(argv[0]); @@ -857,7 +857,7 @@ int cmd_repeat ( int argc, char ** argv, struct mpd_connection *conn ) int cmd_random ( int argc, char ** argv, struct mpd_connection *conn ) { - bool mode; + int mode; if(argc==1) { mode = get_boolean(argv[0]); @@ -879,7 +879,7 @@ int cmd_random ( int argc, char ** argv, struct mpd_connection *conn ) int cmd_single ( int argc, char ** argv, struct mpd_connection *conn ) { - bool mode; + int mode; if(argc==1) { mode = get_boolean(argv[0]); -- 1.7.7.3 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team