OSDN Git Service

Fix build error on 64-bit
authorGlenn Kasten <gkasten@google.com>
Mon, 23 Mar 2015 17:52:31 +0000 (10:52 -0700)
committerGlenn Kasten <gkasten@google.com>
Mon, 23 Mar 2015 17:53:55 +0000 (10:53 -0700)
Change-Id: I9a308bf6499a74efa8084a2e4df1f029b26f3d6c

modules/audio/audio_hw.c

index de8685d..a1a322f 100644 (file)
@@ -128,19 +128,19 @@ static int out_get_render_position(const struct audio_stream_out *stream,
                                    uint32_t *dsp_frames)
 {
     *dsp_frames = 0;
-    ALOGV("out_get_render_position: dsp_frames: %d", (int)dsp_frames);
+    ALOGV("out_get_render_position: dsp_frames: %p", dsp_frames);
     return -EINVAL;
 }
 
 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
 {
-    ALOGV("out_add_audio_effect: %d", (int)effect);
+    ALOGV("out_add_audio_effect: %p", effect);
     return 0;
 }
 
 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect)
 {
-    ALOGV("out_remove_audio_effect: %d", (int)effect);
+    ALOGV("out_remove_audio_effect: %p", effect);
     return 0;
 }