aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-15 21:04:58 +0200
committerDavid Robillard <d@drobilla.net>2020-07-15 22:34:03 +0200
commit5a0ddd58f7f7098a088afee22d479eec2d8cc958 (patch)
treec50669156702ec0ccd34cce9b87d309d32f53d0d /plugins
parent2f7ffa585fbab18976ecf1f69aa9a28ed04a13ac (diff)
downloadlv2-5a0ddd58f7f7098a088afee22d479eec2d8cc958.tar.xz
Fix incorrect printf format specifiers
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-sampler.lv2/sampler.c4
-rw-r--r--plugins/eg-sampler.lv2/uris.h2
2 files changed, 3 insertions, 3 deletions
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;
}