From 5bddaf682027a83d61eca39622b27e977c8effaa Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 13 Oct 2014 12:50:44 +0200 Subject: [PATCH] sources: use correct specifier for refid in debug message --- sources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources.c b/sources.c index 30d6144..67217bd 100644 --- a/sources.c +++ b/sources.c @@ -908,7 +908,7 @@ SRC_SelectSource(SRC_Instance updated_inst) sources[i]->sel_score = 1.0 / distance; } - DEBUG_LOG(LOGF_Sources, "select score=%f refid=%x match_refid=%x status=%d dist=%f", + DEBUG_LOG(LOGF_Sources, "select score=%f refid=%"PRIx32" match_refid=%"PRIx32" status=%d dist=%f", sources[i]->sel_score, sources[i]->ref_id, updated_inst ? updated_inst->ref_id : 0, sources[i]->status, distance);