diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-05-01 18:37:14 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-05-01 18:37:14 +0200 |
commit | 979f47d9c47fac4c16743da6862dfadd2dcd3b12 (patch) | |
tree | d51cca5e6897a6f45be2440178d6f420083af22f /plugins/lastfm | |
parent | 27b69bc18954459f46a4c8dc55608281cd98b69b (diff) |
lastfm: fixed compiler warnings
Diffstat (limited to 'plugins/lastfm')
-rw-r--r-- | plugins/lastfm/lastfm.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |