summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/gralloc.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-02-05 18:21:09 -0800
committerColin Cross <ccross@android.com>2014-02-05 18:21:09 -0800
commitfebaaa937f2bb08197ab5636afce210028357888 (patch)
tree855379228c17336360e8ca59fb11727dcd3ac4b4 /modules/gralloc/gralloc.cpp
parentaea8c156649c16347514741eb084858cdb458b75 (diff)
downloadhardware_libhardware-febaaa937f2bb08197ab5636afce210028357888.zip
hardware_libhardware-febaaa937f2bb08197ab5636afce210028357888.tar.gz
hardware_libhardware-febaaa937f2bb08197ab5636afce210028357888.tar.bz2
gralloc: fix warnings
Fix LP64 pointer casting warnings, unused parameters, and turn off missing initializer warnings. Change-Id: Idb70f4534282fed64ae81cb1e154d3f5b93091b0
Diffstat (limited to 'modules/gralloc/gralloc.cpp')
-rw-r--r--modules/gralloc/gralloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp
index f832f35..bdc789d 100644
--- a/modules/gralloc/gralloc.cpp
+++ b/modules/gralloc/gralloc.cpp
@@ -166,7 +166,7 @@ static int gralloc_alloc_framebuffer(alloc_device_t* dev,
}
static int gralloc_alloc_buffer(alloc_device_t* dev,
- size_t size, int usage, buffer_handle_t* pHandle)
+ size_t size, int /*usage*/, buffer_handle_t* pHandle)
{
int err = 0;
int fd = -1;