summaryrefslogtreecommitdiff
path: root/plugins/musepack
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2013-06-05 20:43:13 +0200
committerGravatar waker <wakeroid@gmail.com>2013-06-05 20:43:13 +0200
commitcb0bfa2b92fd467be34aeea991b2c5f32dc413ec (patch)
treed12da933ef6c5728cf580f4d707f6a8b2624586d /plugins/musepack
parent252d7cbf55664611b050a3232d0187465cc1cd9a (diff)
musepack warning fix
Diffstat (limited to 'plugins/musepack')
-rw-r--r--plugins/musepack/musepack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/musepack/musepack.c b/plugins/musepack/musepack.c
index c26f7d40..7a8b2616 100644
--- a/plugins/musepack/musepack.c
+++ b/plugins/musepack/musepack.c
@@ -311,7 +311,7 @@ mpc_set_trk_properties (DB_playItem_t *it, mpc_streaminfo *si, int64_t fsize) {
deadbeef->pl_add_meta (it, ":MPC_ENCODER_VERSION", s);
deadbeef->pl_add_meta (it, ":MPC_PNS_USED", si->pns ? "1" : "0");
deadbeef->pl_add_meta (it, ":MPC_TRUE_GAPLESS", si->is_true_gapless ? "1" : "0");
- snprintf (s, sizeof (s), "%d", si->beg_silence);
+ snprintf (s, sizeof (s), "%lld", (int64_t)si->beg_silence);
deadbeef->pl_add_meta (it, ":MPC_BEG_SILENCE", s);
snprintf (s, sizeof (s), "%d", si->stream_version);
deadbeef->pl_add_meta (it, ":MPC_STREAM_VERSION", s);