Merge branch 'LUCY-302-numutils-warnings' In NumberUtils.cfh:
* Widen the array index type for addressing 1-bit, 2-bit, and 4-bit arrays. * Address a few (false positive) compiler warnings from `-Wconversion`. This fixes #43. Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/90eebf02 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/90eebf02 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/90eebf02 Branch: refs/heads/master Commit: 90eebf02f6903deb62604e6dd951afcedbf00477 Parents: e6b6133 dd6e79c Author: Marvin Humphrey <[email protected]> Authored: Mon Apr 25 12:08:10 2016 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Mon Apr 25 12:08:10 2016 -0700 ---------------------------------------------------------------------- core/Lucy/Index/SortCache.c | 6 +-- core/Lucy/Index/SortFieldWriter.c | 8 ++-- core/Lucy/Test/Util/TestNumberUtils.c | 9 ++-- core/Lucy/Util/NumberUtils.cfh | 71 +++++++++++++++--------------- 4 files changed, 46 insertions(+), 48 deletions(-) ----------------------------------------------------------------------
