From b6f5327bcf929741763e09155e15887ee60cadae Mon Sep 17 00:00:00 2001 From: Jakub Skowron Date: Wed, 8 Feb 2017 09:02:56 +0100 Subject: [PATCH] [Sound] Incorrect printf parameter in log %lf is declared, but pointer to double was passed Change-Id: I76dafaaa900a322d0e2987f35ab2fdb2f40f4f75 Signed-off-by: Jakub Skowron --- src/sound/sound_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/sound_manager.cc b/src/sound/sound_manager.cc index 9917c0e..b71dfb5 100644 --- a/src/sound/sound_manager.cc +++ b/src/sound/sound_manager.cc @@ -322,7 +322,7 @@ PlatformResult SoundManager::GetVolume(const picojson::object& args, } *volume = ConvertToSystemVolume(max_volume, value); - LoggerD("volume: %lf, maxVolume: %d, value: %d", volume, max_volume, value); + LoggerD("volume: %lf, maxVolume: %d, value: %d", *volume, max_volume, value); return PlatformResult(ErrorCode::NO_ERROR); } -- 2.7.4