summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-11-25 09:08:32 -0500
committerSolomon Peachy <pizza@shaftnet.org>2024-11-25 09:08:32 -0500
commit03555cc7b5bf3e2f6244ecc239c9d1c3ade8ecc5 (patch)
tree001ff8754d324116e1cd5c66e333a47f0b79339e
parent87e55baaad182262e84463960ef9b1427c7dd900 (diff)
downloadrockbox-03555cc7b5.tar.gz
rockbox-03555cc7b5.zip
logf: Correct two format string problems in plugins
Change-Id: I67ab14b2079de8fb660aaa5c1391db053aad2cc5
-rw-r--r--apps/plugins/file_picker.c2
-rw-r--r--apps/plugins/lastfm_scrobbler.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/file_picker.c b/apps/plugins/file_picker.c
index ce9d81728e..6bebf99771 100644
--- a/apps/plugins/file_picker.c
+++ b/apps/plugins/file_picker.c
@@ -169,7 +169,7 @@ static int arg_callback(char argchar, const char **parameter, void *userdata)
{
pfp->tree_attr = (num)&FILE_ATTR_MASK;
pfp->flags |= FIND_ATTRIB;
- logf ("Attrib: Val: 0x%x\n", (uint32_t)num);
+ logf("Attrib: Val: 0x%lx\n", (uint32_t)num);
logf("ate %d chars\n", ret);
}
break;
diff --git a/apps/plugins/lastfm_scrobbler.c b/apps/plugins/lastfm_scrobbler.c
index 4ab1bfdc58..df425edfe0 100644
--- a/apps/plugins/lastfm_scrobbler.c
+++ b/apps/plugins/lastfm_scrobbler.c
@@ -332,7 +332,7 @@ int scrobbler_init_cache(void)
if (gCache.size < reqsz)
{
- logf("SCROBBLER: OOM , %ld < req:%zu", gCache.size, reqsz);
+ logf("SCROBBLER: OOM , %zu < req:%zu", gCache.size, reqsz);
return -1;
}
gCache.force_flush = true;