From 5a0ddd58f7f7098a088afee22d479eec2d8cc958 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Jul 2020 21:04:58 +0200 Subject: Fix incorrect printf format specifiers --- plugins/eg-sampler.lv2/sampler.c | 4 ++-- plugins/eg-sampler.lv2/uris.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index ed49903..646da2d 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -384,11 +384,11 @@ handle_event(Sampler* self, LV2_Atom_Event* ev) } } else { lv2_log_trace(&self->logger, - "Unknown object type %d\n", obj->body.otype); + "Unknown object type %u\n", obj->body.otype); } } else { lv2_log_trace(&self->logger, - "Unknown event type %d\n", ev->body.type); + "Unknown event type %u\n", ev->body.type); } } diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h index 1609db7..caaa88a 100644 --- a/plugins/eg-sampler.lv2/uris.h +++ b/plugins/eg-sampler.lv2/uris.h @@ -115,7 +115,7 @@ read_set_file(const SamplerURIs* uris, const LV2_Atom_Object* obj) { if (obj->body.otype != uris->patch_Set) { - fprintf(stderr, "Ignoring unknown message type %d\n", obj->body.otype); + fprintf(stderr, "Ignoring unknown message type %u\n", obj->body.otype); return NULL; } -- cgit v1.2.1