diff options
author | Chris Pearson <christopherx.c.pearson@intel.com> | 2010-06-02 15:54:27 -0700 |
---|---|---|
committer | Chris Pearson <christopherx.c.pearson@intel.com> | 2010-06-02 15:54:27 -0700 |
commit | 28648e730301e2f88c2112a80f2aba632034eb4c (patch) | |
tree | 4eb334afabec310392c2b1d2fe4c4640b37ce871 | |
parent | 4ea2a7a23c4b79a68193336f5ab4c6a508f672d5 (diff) | |
download | libhardware-28648e730301e2f88c2112a80f2aba632034eb4c.tar.gz |
Silenced compiler warning seen only in debug builds.
Change-Id: I831ec3a75e6acdfddae95665f6b931b6d731f69e
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
-rw-r--r-- | modules/gralloc/gralloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp index 404d8b80..4c40eb2c 100644 --- a/modules/gralloc/gralloc.cpp +++ b/modules/gralloc/gralloc.cpp @@ -425,7 +425,7 @@ static int gralloc_free(alloc_device_t* dev, struct pmem_region sub = { hnd->offset, hnd->size }; int err = ioctl(hnd->fd, PMEM_UNMAP, &sub); LOGE_IF(err<0, "PMEM_UNMAP failed (%s), " - "fd=%d, sub.offset=%lu, sub.size=%lu", + "fd=%d, sub.offset=%d, sub.size=%d", strerror(errno), hnd->fd, hnd->offset, hnd->size); if (err == 0) { // we can't deallocate the memory in case of UNMAP failure |