aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliuchao <liuchao741@huawei.com>2018-03-02 16:13:27 +0800
committerliuchao <liuchao741@huawei.com>2018-03-02 17:17:05 +0800
commit032255d4c6cabe67a1f25f650f38c6e39d747d0c (patch)
treed5f8f5e94d75a5f823f9aaa442d3b20cd09239a2
parent4546cf071dbcbe146373794f9de6eed4e2d15ec9 (diff)
downloadgoldfish-opengl-032255d4c6cabe67a1f25f650f38c6e39d747d0c.tar.gz
Test: code compilation without -Wformate warning Change-Id: I0dcd11dab045870fe783289beec6d28f5070a262
-rw-r--r--system/gralloc/gralloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp
index 3a1d2dd2..223f87a2 100644
--- a/system/gralloc/gralloc.cpp
+++ b/system/gralloc/gralloc.cpp
@@ -636,7 +636,7 @@ static int gralloc_alloc(alloc_device_t* dev,
// round to page size;
ashmem_size = (ashmem_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1);
- ALOGD("%s: Creating ashmem region of size %lu\n", __FUNCTION__, ashmem_size);
+ ALOGD("%s: Creating ashmem region of size %d\n", __FUNCTION__, ashmem_size);
fd = ashmem_create_region("gralloc-buffer", ashmem_size);
if (fd < 0) {
ALOGE("gralloc_alloc failed to create ashmem region: %s\n",