From febaaa937f2bb08197ab5636afce210028357888 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 5 Feb 2014 18:21:09 -0800 Subject: gralloc: fix warnings Fix LP64 pointer casting warnings, unused parameters, and turn off missing initializer warnings. Change-Id: Idb70f4534282fed64ae81cb1e154d3f5b93091b0 --- modules/gralloc/gralloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gralloc/gralloc.cpp') 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; -- cgit v1.2.3