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