Merge branch 'fixwarn2' Address many compiler warnings, particularly integer precision warnings triggered by adding `-Wconversion`.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/c1ed8ee7 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/c1ed8ee7 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/c1ed8ee7 Branch: refs/heads/master Commit: c1ed8ee7027a2311fb6487ac8f055a4316117721 Parents: b8d40d0 9b7678b Author: Marvin Humphrey <[email protected]> Authored: Sat Mar 19 22:51:44 2016 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Sat Mar 19 22:51:44 2016 -0700 ---------------------------------------------------------------------- compiler/c/cfc.c | 5 +- compiler/python/src/cfc/_cfc.c | 8 +--- compiler/src/CFCBase.h | 2 +- compiler/src/CFCCHtml.c | 9 ++-- compiler/src/CFCClass.c | 2 +- compiler/src/CFCDocuComment.c | 6 +-- compiler/src/CFCFile.c | 2 +- compiler/src/CFCGoFunc.c | 12 ++--- compiler/src/CFCGoTypeMap.c | 8 ++-- compiler/src/CFCParcel.c | 8 ++-- compiler/src/CFCParser.c | 2 +- compiler/src/CFCPerl.c | 2 +- compiler/src/CFCPerlConstructor.c | 6 +-- compiler/src/CFCPerlMethod.c | 25 +++++++--- compiler/src/CFCPerlPod.c | 6 +-- compiler/src/CFCPerlSub.c | 4 +- compiler/src/CFCPyClass.c | 2 +- compiler/src/CFCPyMethod.c | 32 ++++++------- compiler/src/CFCPython.c | 4 +- compiler/src/CFCRuby.c | 2 +- compiler/src/CFCTest.c | 19 +++++++- compiler/src/CFCTest.h | 13 ++++- compiler/src/CFCTestParamList.c | 4 +- compiler/src/CFCTestParser.c | 6 +-- compiler/src/CFCTestUtil.c | 4 +- compiler/src/CFCType.c | 4 +- compiler/src/CFCUtil.c | 25 +++++----- compiler/src/CFCVersion.c | 3 +- runtime/core/Clownfish/ByteBuf.c | 8 ++-- runtime/core/Clownfish/CharBuf.c | 25 +++++----- runtime/core/Clownfish/Class.c | 6 +-- runtime/core/Clownfish/Obj.c | 2 +- runtime/core/Clownfish/PtrHash.c | 2 +- runtime/core/Clownfish/String.c | 6 +-- runtime/core/Clownfish/Test/TestBlob.c | 4 +- runtime/core/Clownfish/Test/TestByteBuf.c | 8 ++-- runtime/core/Clownfish/Test/TestHash.c | 28 +++++------ .../core/Clownfish/Test/TestLockFreeRegistry.c | 2 +- runtime/core/Clownfish/Test/TestNum.c | 2 +- runtime/core/Clownfish/Test/TestString.c | 50 ++++++++++---------- runtime/core/Clownfish/Test/TestVector.c | 34 ++++++------- runtime/core/Clownfish/Test/Util/TestMemory.c | 20 ++++---- .../core/Clownfish/Test/Util/TestStringHelper.c | 12 ++--- .../Clownfish/TestHarness/TestBatchRunner.c | 33 +++++++++++-- .../Clownfish/TestHarness/TestBatchRunner.cfh | 13 ++++- runtime/core/Clownfish/TestHarness/TestUtils.c | 16 +++---- runtime/core/Clownfish/Util/SortUtils.c | 8 ++-- runtime/core/Clownfish/Util/StringHelper.c | 3 +- .../perl/buildlib/Clownfish/Build/Binding.pm | 1 + runtime/python/setup.py | 2 +- 50 files changed, 291 insertions(+), 219 deletions(-) ----------------------------------------------------------------------
