X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/a534180cd5d99f3e0ce8bb19c14f57074ffb102a..241f5166e5796ba397e401727dcc7f5d78245e71:/StringPool.cpp 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);