summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack.cpp
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-09-16 10:15:51 -0700
committerColin Cross <ccross@android.com>2016-09-20 09:23:47 -0700
commit7c6c7f0b9f96650ab12056965e223a735ea92ada (patch)
tree8e593c0fbf49d07da72ef68e9f2a228129e350b2 /libutils/ProcessCallStack.cpp
parent36b88ce9754424a9ed6742dbc1931a0e9a1b8116 (diff)
Fix warnings in libziparchive
system/core/include is included in the global include path using -isystem, which hides all warnings. zlib.h is included through system/core/include/ziparchive/zip_archive.h, which was hiding warnings in it. Use a #pragma around the call to deflateInit2, it is a macro that expands to an old-style cast, in preparation for moving from -isystem to -I. Also move the ZipString constructor to zip_archive.cc so it can assert on the length of the string parameter and fix an implicit conversion from size_t to uint16_t. Test: m -j native Bug: 31492149 Change-Id: I74cdad7fe9c723859b5cfbea73c8f27d9d9ca265
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions