diff options
author | liuchao <liuchao741@huawei.com> | 2018-03-02 23:03:41 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-03-02 23:03:41 +0000 |
commit | 9b51713941462a709044b038d245913cdc24f1d5 (patch) | |
tree | eb1119791dce42b331e5f0ba30d2827ce4ad64b8 | |
parent | a16eb2ef2da86593bad89f82ed8246126a092564 (diff) | |
parent | b434e67d0cac8fe45917de72861d6f180e73fad6 (diff) | |
download | device_generic_goldfish-opengl-9b51713941462a709044b038d245913cdc24f1d5.tar.gz device_generic_goldfish-opengl-9b51713941462a709044b038d245913cdc24f1d5.tar.bz2 device_generic_goldfish-opengl-9b51713941462a709044b038d245913cdc24f1d5.zip |
Silence -Wformat compile warning in log print am: 032255d4c6 am: dff613b015
am: b434e67d0c
Change-Id: I14f3b464a3469c1c362a492d2cddc9ec73c11869
-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 e45bf63a..9569d344 100644 --- a/system/gralloc/gralloc.cpp +++ b/system/gralloc/gralloc.cpp @@ -670,7 +670,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", |