summaryrefslogtreecommitdiffstats
path: root/include/gui/GraphicBufferAlloc.h
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-11-18 10:24:03 -0800
committerDan Stoza <stoza@google.com>2014-12-05 11:06:44 -0800
commitd723bd7669b4fc88dc282d8bf8ba5ecb2849d22f (patch)
treeefc2d81e4ebf1f2499c5c5ec10323c6b3013a5ba /include/gui/GraphicBufferAlloc.h
parenta950eb18792da6962fcefa69b12ffc3f9d8cdca8 (diff)
downloadframeworks_native-d723bd7669b4fc88dc282d8bf8ba5ecb2849d22f.zip
frameworks_native-d723bd7669b4fc88dc282d8bf8ba5ecb2849d22f.tar.gz
frameworks_native-d723bd7669b4fc88dc282d8bf8ba5ecb2849d22f.tar.bz2
libgui: Enable -Weverything and -Werror
Enables -Weverything and -Werror, with just a few exceptions for warnings we can't (or shouldn't need to) work around. Change-Id: I034abec27bf4020d84af60d7acc1939c59986dd6
Diffstat (limited to 'include/gui/GraphicBufferAlloc.h')
-rw-r--r--include/gui/GraphicBufferAlloc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gui/GraphicBufferAlloc.h b/include/gui/GraphicBufferAlloc.h
index b08750c..69fe51e 100644
--- a/include/gui/GraphicBufferAlloc.h
+++ b/include/gui/GraphicBufferAlloc.h
@@ -33,8 +33,9 @@ class GraphicBufferAlloc : public BnGraphicBufferAlloc {
public:
GraphicBufferAlloc();
virtual ~GraphicBufferAlloc();
- virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h,
- PixelFormat format, uint32_t usage, status_t* error);
+ virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t width,
+ uint32_t height, PixelFormat format, uint32_t usage,
+ status_t* error);
};