diff options
author | David Robillard <d@drobilla.net> | 2020-07-21 20:19:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-21 20:19:43 +0200 |
commit | 8afee591f5a88888d896380e572182033901a7c4 (patch) | |
tree | 0d263ee8d7bbde3277ea17f3a321ee5b8404be3e /src/jack.c | |
parent | 772a5cd542b80deac33b92b34dd6464509bd0b86 (diff) | |
download | jalv-8afee591f5a88888d896380e572182033901a7c4.tar.gz jalv-8afee591f5a88888d896380e572182033901a7c4.tar.bz2 jalv-8afee591f5a88888d896380e572182033901a7c4.zip |
Fix incorrect printf format specifiers
Diffstat (limited to 'src/jack.c')
-rw-r--r-- | src/jack.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -496,7 +496,7 @@ jalv_backend_activate_port(Jalv* jalv, uint32_t port_index) if (port->sys_port) { // Set port order to index char index_str[16]; - snprintf(index_str, sizeof(index_str), "%d", port_index); + snprintf(index_str, sizeof(index_str), "%u", port_index); jack_set_property(client, jack_port_uuid(port->sys_port), "http://jackaudio.org/metadata/order", index_str, "http://www.w3.org/2001/XMLSchema#integer"); |