summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2014-02-11 13:56:21 -0800
committerDianne Hackborn <hackbod@google.com>2014-02-11 14:22:14 -0800
commit32bb5fae353b5bb6275e75952e89c514c7369cee (patch)
treee1cb0e8fbdd8c7aa03f1971e4a55da7f8e6d7b68 /include
parent6adfd86ca94f3eabb93fb1b4a0b9b0ea50895dcd (diff)
downloadframeworks_base-32bb5fae353b5bb6275e75952e89c514c7369cee.zip
frameworks_base-32bb5fae353b5bb6275e75952e89c514c7369cee.tar.gz
frameworks_base-32bb5fae353b5bb6275e75952e89c514c7369cee.tar.bz2
Fix build.
At least part of what is broken. Other stuff still seems to be. Change-Id: I367dc0377bd5b4e59d9d9b68f3506bf1d64aa591
Diffstat (limited to 'include')
-rw-r--r--include/androidfw/AssetManager.h2
-rw-r--r--include/androidfw/ResourceTypes.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/androidfw/AssetManager.h b/include/androidfw/AssetManager.h
index e0c6183..503377c 100644
--- a/include/androidfw/AssetManager.h
+++ b/include/androidfw/AssetManager.h
@@ -224,7 +224,7 @@ public:
* corresponding overlay package.
*/
bool createIdmap(const char* targetApkPath, const char* overlayApkPath,
- uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, uint32_t* outSize);
+ uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize);
private:
struct asset_path
diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h
index caa8da7..0f51826 100644
--- a/include/androidfw/ResourceTypes.h
+++ b/include/androidfw/ResourceTypes.h
@@ -1377,7 +1377,7 @@ public:
~ResTable();
status_t add(Asset* asset, const int32_t cookie, bool copyData,
- const void* idmap);
+ const void* idmap = NULL);
status_t add(const void *data, size_t size);
status_t add(ResTable* src);
@@ -1644,7 +1644,7 @@ public:
status_t createIdmap(const ResTable& overlay,
uint32_t targetCrc, uint32_t overlayCrc,
const char* targetPath, const char* overlayPath,
- void** outData, uint32_t* outSize) const
+ void** outData, size_t* outSize) const
{
(void)targetPath;
(void)overlayPath;