summaryrefslogtreecommitdiffstats
path: root/utils/lv2apply.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-15 17:22:07 +0200
committerDavid Robillard <d@drobilla.net>2020-07-16 23:37:49 +0200
commitcec00731f59893ba0851bc5eb2187037c7b21dbf (patch)
tree3443d64207534b48533aa5a6a67aa2a750525c8a /utils/lv2apply.c
parent3138cadd2e60eabb16822994c281ef4b73832d91 (diff)
downloadlilv-cec00731f59893ba0851bc5eb2187037c7b21dbf.tar.gz
lilv-cec00731f59893ba0851bc5eb2187037c7b21dbf.tar.bz2
lilv-cec00731f59893ba0851bc5eb2187037c7b21dbf.zip
Fix conversion warnings
Diffstat (limited to 'utils/lv2apply.c')
-rw-r--r--utils/lv2apply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/lv2apply.c b/utils/lv2apply.c
index 14a5ff0..b130c9f 100644
--- a/utils/lv2apply.c
+++ b/utils/lv2apply.c
@@ -169,7 +169,7 @@ create_ports(LV2Apply* self)
port->is_input = true;
} else if (!lilv_port_is_a(self->plugin, lport, lv2_OutputPort) &&
!port->optional) {
- return fatal(self, 1, "Port %d is neither input nor output\n", i);
+ return fatal(self, 1, "Port %u is neither input nor output\n", i);
}
/* Check if port is an audio or control port */
@@ -183,7 +183,7 @@ create_ports(LV2Apply* self)
++self->n_audio_out;
}
} else if (!port->optional) {
- return fatal(self, 1, "Port %d has unsupported type\n", i);
+ return fatal(self, 1, "Port %u has unsupported type\n", i);
}
}
@@ -296,7 +296,7 @@ main(int argc, char** argv)
if (self.n_audio_in == 0 ||
(in_fmt.channels != (int)self.n_audio_in && in_fmt.channels != 1)) {
- return fatal(&self, 6, "Unable to map %d inputs to %d ports\n",
+ return fatal(&self, 6, "Unable to map %d inputs to %u ports\n",
in_fmt.channels, self.n_audio_in);
}