X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/a534180cd5d99f3e0ce8bb19c14f57074ffb102a..6dfccf061b505abafb2da9f5debf03ddb0210141:/StringPool.cpp?ds=sidebyside diff --git a/StringPool.cpp b/StringPool.cpp index 878d3b1..715170a 100644 --- a/StringPool.cpp +++ b/StringPool.cpp @@ -228,7 +228,7 @@ status_t StringPool::writeStringBlock(const sp& pool) } dat += (preSize+strPos)/sizeof(uint16_t); if (lenSize > sizeof(uint16_t)) { - *dat = htods(0x8000 | ((strSize>>16)&0x7ffff)); + *dat = htods(0x8000 | ((strSize>>16)&0x7fff)); dat++; } *dat++ = htods(strSize);