diff options
Diffstat (limited to 'libgralloc/mapper.cpp')
-rw-r--r-- | libgralloc/mapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgralloc/mapper.cpp b/libgralloc/mapper.cpp index 5e8e59f4e..37e83bc06 100644 --- a/libgralloc/mapper.cpp +++ b/libgralloc/mapper.cpp @@ -118,7 +118,7 @@ static int gralloc_unmap(gralloc_module_t const* module, if(hnd->base) { err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); if (err) { - ALOGE("Could not unmap memory at address %p, %s", hnd->base, + ALOGE("Could not unmap memory at address %p, %s", (void*) hnd->base, strerror(errno)); return -errno; } @@ -131,7 +131,7 @@ static int gralloc_unmap(gralloc_module_t const* module, size, hnd->offset_metadata); if (err) { ALOGE("Could not unmap memory at address %p, %s", - hnd->base_metadata, strerror(errno)); + (void*) hnd->base_metadata, strerror(errno)); return -errno; } hnd->base_metadata = 0; |