From 979f47d9c47fac4c16743da6862dfadd2dcd3b12 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Thu, 1 May 2014 18:37:14 +0200 Subject: lastfm: fixed compiler warnings --- plugins/lastfm/lastfm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/lastfm/lastfm.c b/plugins/lastfm/lastfm.c index 7adfce90..a7443e1c 100644 --- a/plugins/lastfm/lastfm.c +++ b/plugins/lastfm/lastfm.c @@ -279,7 +279,7 @@ auth (void) { end++; } if (end - p > sizeof (lfm_nowplaying_url)-1) { - trace ("scrobbler nowplaying url is too long:\n", lfm_reply); + trace ("scrobbler nowplaying url is too long %d:\n", (int)(end-p)); goto fail; } strncpy (lfm_nowplaying_url, p, end-p); @@ -300,7 +300,7 @@ auth (void) { end++; } if (end - p > sizeof (lfm_submission_url)-1) { - trace ("scrobbler submission url is too long:\n", lfm_reply); + trace ("scrobbler submission url is too long: %d\n", (int)(end-p)); goto fail; } strncpy (lfm_submission_url, p, end-p); -- cgit v1.2.3