diff options
author | Dan Stoza <stoza@google.com> | 2014-12-01 15:15:31 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-12-04 18:06:48 -0800 |
commit | 133caacf87423a738f31b6e1f58d0abcb377058d (patch) | |
tree | 6ae1eb107bd6d8f4273b5d8631afecad49728ff9 /libs/ui | |
parent | 42af27817360d338f83fed4b87a535bb0ac4e65b (diff) | |
download | frameworks_native-133caacf87423a738f31b6e1f58d0abcb377058d.zip frameworks_native-133caacf87423a738f31b6e1f58d0abcb377058d.tar.gz frameworks_native-133caacf87423a738f31b6e1f58d0abcb377058d.tar.bz2 |
Fix -Werror on 64-bit builds
Add another static_cast to avoid an error on 64-bit builds
Change-Id: I62fb2c67766c4aab70d9d1834f255d06ff82dd8d
(cherry picked from commit 116c7a113cb2db4d3f7708627ac4713c7e92cd43)
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/GraphicBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/GraphicBuffer.cpp b/libs/ui/GraphicBuffer.cpp index 825baf4..425df38 100644 --- a/libs/ui/GraphicBuffer.cpp +++ b/libs/ui/GraphicBuffer.cpp @@ -116,7 +116,7 @@ void GraphicBuffer::free_handle() } status_t GraphicBuffer::initCheck() const { - return mInitCheck; + return static_cast<status_t>(mInitCheck); } void GraphicBuffer::dumpAllocationsToSystemLog() |