summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-07 16:28:19 -0800
committerAndreas Gampe <agampe@google.com>2014-11-08 01:04:45 +0000
commitebee1379eaf4306eb2de9437844009aa7eb18c28 (patch)
tree165544f1e460464e14c41e8b88f73107e1668494 /include
parent487ae9b8dc3e08c1a830d519a801a07cd59c8f2b (diff)
downloadframeworks_base-ebee1379eaf4306eb2de9437844009aa7eb18c28.zip
frameworks_base-ebee1379eaf4306eb2de9437844009aa7eb18c28.tar.gz
frameworks_base-ebee1379eaf4306eb2de9437844009aa7eb18c28.tar.bz2
Frameworks/base: Fix two warnings in cmds
Change-Id: Ifb9c7fb7a2d28c13010ddc186bea5f5f0daefb4a
Diffstat (limited to 'include')
-rw-r--r--include/androidfw/ResourceTypes.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h
index f7730f2..a44975b 100644
--- a/include/androidfw/ResourceTypes.h
+++ b/include/androidfw/ResourceTypes.h
@@ -1773,9 +1773,7 @@ public:
const char* targetPath, const char* overlayPath,
void** outData, size_t* outSize) const;
- enum {
- IDMAP_HEADER_SIZE_BYTES = 4 * sizeof(uint32_t) + 2 * 256,
- };
+ static const size_t IDMAP_HEADER_SIZE_BYTES = 4 * sizeof(uint32_t) + 2 * 256;
// Retrieve idmap meta-data.
//