From 6b423c3d2503703cace61d20edb3c7e5a3afac5c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 21 Mar 2022 09:18:07 +0100 Subject: [PATCH] spa: debug double like a float --- spa/include/spa/debug/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/include/spa/debug/format.h b/spa/include/spa/debug/format.h index 2f2f1ffa4..6f9e0a3be 100644 --- a/spa/include/spa/debug/format.h +++ b/spa/include/spa/debug/format.h @@ -69,7 +69,7 @@ spa_debug_format_value(const struct spa_type_info *info, spa_debugn("%f", *(float *) body); break; case SPA_TYPE_Double: - spa_debugn("%g", *(double *) body); + spa_debugn("%f", *(double *) body); break; case SPA_TYPE_String: spa_debugn("%s", (char *) body);