OSDN Git Service

Silenced compiler warning seen only in debug builds.
authorChris Pearson <christopherx.c.pearson@intel.com>
Wed, 2 Jun 2010 22:54:27 +0000 (15:54 -0700)
committerChris Pearson <christopherx.c.pearson@intel.com>
Wed, 2 Jun 2010 22:54:27 +0000 (15:54 -0700)
Change-Id: I831ec3a75e6acdfddae95665f6b931b6d731f69e
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
modules/gralloc/gralloc.cpp

index 404d8b8..4c40eb2 100644 (file)
@@ -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