diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2005-02-26 22:28:19 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2005-02-26 22:28:19 +0000 |
commit | 1f28c240973d36cfd51b190baff5ed1819e90a05 (patch) | |
tree | 57646cc82216c56d66798b5ce04a222847ec59d8 | |
parent | d9cb5619d5897007d121050365f5a23f7a940c41 (diff) | |
download | mpd-1f28c240973d36cfd51b190baff5ed1819e90a05.tar.gz mpd-1f28c240973d36cfd51b190baff5ed1819e90a05.tar.xz mpd-1f28c240973d36cfd51b190baff5ed1819e90a05.zip |
s/mpc_bool_t/BOOL/ so it works with libmusepack 1.1
git-svn-id: https://svn.musicpd.org/mpd/trunk@2991 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r-- | src/inputPlugins/mpc_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c index 89867993a..45ef0bd16 100644 --- a/src/inputPlugins/mpc_plugin.c +++ b/src/inputPlugins/mpc_plugin.c @@ -57,7 +57,7 @@ static mpc_int32_t mpc_read_cb(void * vdata, void * ptr, mpc_int32_t size) { return ret; } -static mpc_bool_t mpc_seek_cb(void * vdata, mpc_int32_t offset) { +static BOOL mpc_seek_cb(void * vdata, mpc_int32_t offset) { MpcCallbackData * data = (MpcCallbackData *)vdata; return seekInputStream(data->inStream , offset, SEEK_SET) < 0 ? 0 : 1; @@ -69,7 +69,7 @@ static mpc_int32_t mpc_tell_cb(void * vdata) { return (long)(data->inStream->offset); } -static mpc_bool_t mpc_canseek_cb(void * vdata) { +static BOOL mpc_canseek_cb(void * vdata) { MpcCallbackData * data = (MpcCallbackData *)vdata; return data->inStream->seekable; |