diff --git a/spa/include/spa/debug/node.h b/spa/include/spa/debug/node.h index 20ed9eb70..e83fff6f9 100644 --- a/spa/include/spa/debug/node.h +++ b/spa/include/spa/debug/node.h @@ -39,7 +39,7 @@ extern "C" { int spa_debug_port_info(int indent, const struct spa_port_info *info) { spa_debug("%*s" "struct spa_port_info %p:", indent, "", info); - spa_debug("%*s" " flags: \t%08lx", indent, "", info->flags); + spa_debug("%*s" " flags: \t%08" PRIx64, indent, "", info->flags); spa_debug("%*s" " rate: \t%d/%d", indent, "", info->rate.num, info->rate.denom); spa_debug("%*s" " props:", indent, ""); if (info->props) diff --git a/spa/plugins/audioconvert/channelmix-ops.c b/spa/plugins/audioconvert/channelmix-ops.c index d9b2897d7..8ad3b1890 100644 --- a/spa/plugins/audioconvert/channelmix-ops.c +++ b/spa/plugins/audioconvert/channelmix-ops.c @@ -180,7 +180,7 @@ static int make_matrix(struct channelmix *mix) unassigned = src_mask & ~dst_mask; - spa_log_debug(mix->log, "unassigned %08lx", unassigned); + spa_log_debug(mix->log, "unassigned %08" PRIx64, unassigned); if (unassigned & _MASK(FC)){ if ((dst_mask & STEREO) == STEREO){ diff --git a/spa/plugins/audioconvert/channelmix.c b/spa/plugins/audioconvert/channelmix.c index 5103ade7b..48f56f435 100644 --- a/spa/plugins/audioconvert/channelmix.c +++ b/spa/plugins/audioconvert/channelmix.c @@ -193,7 +193,7 @@ static int setup_convert(struct impl *this, if (dst_mask & 1) dst_mask = default_mask(dst_chan); - spa_log_info(this->log, NAME " %p: %s/%d@%d->%s/%d@%d %08lx:%08lx", this, + spa_log_info(this->log, NAME " %p: %s/%d@%d->%s/%d@%d %08"PRIx64":%08"PRIx64, this, spa_debug_type_find_name(spa_type_audio_format, src_info->info.raw.format), src_chan, src_info->info.raw.rate, diff --git a/spa/tools/spa-inspect.c b/spa/tools/spa-inspect.c index e92f6cb4b..a9a56fb42 100644 --- a/spa/tools/spa-inspect.c +++ b/spa/tools/spa-inspect.c @@ -141,7 +141,7 @@ static void node_info(void *_data, const struct spa_node_info *info) { struct data *data = _data; - printf("node info: %08lx\n", info->change_mask); + printf("node info: %08"PRIx64"\n", info->change_mask); printf("max input ports: %u\n", info->max_input_ports); printf("max output ports: %u\n", info->max_output_ports); diff --git a/src/pipewire/node.c b/src/pipewire/node.c index e5c29ffef..17622d070 100644 --- a/src/pipewire/node.c +++ b/src/pipewire/node.c @@ -939,7 +939,7 @@ static void node_info(void *data, const struct spa_node_info *info) node->info.max_input_ports = info->max_input_ports; node->info.max_output_ports = info->max_output_ports; - pw_log_debug("node %p: change_mask %08lx max_in:%u max_out:%u", + pw_log_debug("node %p: change_mask %08"PRIx64" max_in:%u max_out:%u", node, info->change_mask, info->max_input_ports, info->max_output_ports);