summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2015-01-27 18:33:46 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-27 18:33:46 +0000
commit847514499f5920d073f5cd402dd0d3bbd19ac2c1 (patch)
treef6b20dcbbdb9809a4d0f9678f9c2a04626a03c62 /include
parent6e14c5705c5acf9d6036060252f257a084cd7578 (diff)
parent3523e4fcb3c74a5dee2f4497e2b8ec7b9e2b5e57 (diff)
downloadframeworks_base-847514499f5920d073f5cd402dd0d3bbd19ac2c1.zip
frameworks_base-847514499f5920d073f5cd402dd0d3bbd19ac2c1.tar.gz
frameworks_base-847514499f5920d073f5cd402dd0d3bbd19ac2c1.tar.bz2
am 3523e4fc: am efe085ff: Merge "Handle bad ninepatch data." into lmp-mr1-dev
* commit '3523e4fcb3c74a5dee2f4497e2b8ec7b9e2b5e57': Handle bad ninepatch data.
Diffstat (limited to 'include')
-rw-r--r--include/androidfw/ResourceTypes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/androidfw/ResourceTypes.h b/include/androidfw/ResourceTypes.h
index 421c5c1..8673219 100644
--- a/include/androidfw/ResourceTypes.h
+++ b/include/androidfw/ResourceTypes.h
@@ -118,9 +118,9 @@ struct Res_png_9patch
yDivsOffset(0), colorsOffset(0) { }
int8_t wasDeserialized;
- int8_t numXDivs;
- int8_t numYDivs;
- int8_t numColors;
+ uint8_t numXDivs;
+ uint8_t numYDivs;
+ uint8_t numColors;
// The offset (from the start of this structure) to the xDivs & yDivs
// array for this 9patch. To get a pointer to this array, call