More improvements for term positions >= 0x80000000
commit1ca92677404d0c0a67d017dd0c20a87f33ececd1
authorOlly Betts <olly@survex.com>
Wed, 1 Aug 2018 05:28:07 +0000 (1 17:28 +1200)
committerOlly Betts <olly@survex.com>
Wed, 1 Aug 2018 05:28:07 +0000 (1 17:28 +1200)
tree4f8c43117a5d4abf1a15b8b60944ccc48670020c
parent78fb9770c59ddfad210df507abb381d52dc6bf94
More improvements for term positions >= 0x80000000

Avoid shifting by the type width, which is undefined behaviour,
and use appropriate types consistently.
xapian-core/common/bitstream.cc
xapian-core/common/bitstream.h