summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2015-03-23 10:52:31 -0700
committerGlenn Kasten <gkasten@google.com>2015-03-23 10:53:55 -0700
commite03bfa4f5ce895cf7389daa5f74419c05da471c0 (patch)
treeaaa4a8071c0c447538f29203a5a699228036c39b /modules
parentd6f524bc7d0438ba8427deb7b15736dd2adff82b (diff)
downloadhardware_libhardware-e03bfa4f5ce895cf7389daa5f74419c05da471c0.zip
hardware_libhardware-e03bfa4f5ce895cf7389daa5f74419c05da471c0.tar.gz
hardware_libhardware-e03bfa4f5ce895cf7389daa5f74419c05da471c0.tar.bz2
Fix build error on 64-bit
Change-Id: I9a308bf6499a74efa8084a2e4df1f029b26f3d6c
Diffstat (limited to 'modules')
-rw-r--r--modules/audio/audio_hw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/audio/audio_hw.c b/modules/audio/audio_hw.c
index de8685d..a1a322f 100644
--- a/modules/audio/audio_hw.c
+++ b/modules/audio/audio_hw.c
@@ -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;
}