diff options
author | liuchao <liuchao741@huawei.com> | 2018-03-02 22:53:59 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-02 22:53:59 +0000 |
commit | b434e67d0cac8fe45917de72861d6f180e73fad6 (patch) | |
tree | d5f8f5e94d75a5f823f9aaa442d3b20cd09239a2 | |
parent | f785fcdd0019ee0a445d8bc11fd349a941e339a1 (diff) | |
parent | dff613b015d36909cd30acac1adf900e3d3ea0d8 (diff) | |
download | goldfish-opengl-b434e67d0cac8fe45917de72861d6f180e73fad6.tar.gz |
Silence -Wformat compile warning in log print am: 032255d4c6
am: dff613b015
Change-Id: I4ffb6f6d2047622e0b94afb353e236f37aec37e6
-rw-r--r-- | system/gralloc/gralloc.cpp | 2 |
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", |