You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2017/08/10 21:13:42 UTC
orc git commit: ORC-227: Fix signed and unsigned mismatch
Repository: orc
Updated Branches:
refs/heads/master b82e2f4f8 -> d4c4de3a5
ORC-227: Fix signed and unsigned mismatch
Fixes #152
Signed-off-by: Owen O'Malley <om...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/orc/repo
Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/d4c4de3a
Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/d4c4de3a
Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/d4c4de3a
Branch: refs/heads/master
Commit: d4c4de3a5020c15844602e31724a6e25664e3776
Parents: b82e2f4
Author: Deepak Majeti <de...@hpe.com>
Authored: Thu Aug 10 10:42:42 2017 -0400
Committer: Owen O'Malley <om...@apache.org>
Committed: Thu Aug 10 14:13:26 2017 -0700
----------------------------------------------------------------------
c++/src/ByteRLE.cc | 6 +++---
c++/src/RLEv1.cc | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/orc/blob/d4c4de3a/c++/src/ByteRLE.cc
----------------------------------------------------------------------
diff --git a/c++/src/ByteRLE.cc b/c++/src/ByteRLE.cc
index c157792..a503977 100644
--- a/c++/src/ByteRLE.cc
+++ b/c++/src/ByteRLE.cc
@@ -26,9 +26,9 @@
namespace orc {
- const size_t MINIMUM_REPEAT = 3;
- const size_t MAXIMUM_REPEAT = 127 + MINIMUM_REPEAT;
- const size_t MAX_LITERAL_SIZE = 128;
+ const int MINIMUM_REPEAT = 3;
+ const int MAXIMUM_REPEAT = 127 + MINIMUM_REPEAT;
+ const int MAX_LITERAL_SIZE = 128;
ByteRleEncoder::~ByteRleEncoder() {
// PASS
http://git-wip-us.apache.org/repos/asf/orc/blob/d4c4de3a/c++/src/RLEv1.cc
----------------------------------------------------------------------
diff --git a/c++/src/RLEv1.cc b/c++/src/RLEv1.cc
index b8b1d72..033293a 100644
--- a/c++/src/RLEv1.cc
+++ b/c++/src/RLEv1.cc
@@ -25,10 +25,10 @@
namespace orc {
-const uint64_t MINIMUM_REPEAT = 3;
-const uint64_t MAXIMUM_REPEAT = 127 + MINIMUM_REPEAT;
+const int MINIMUM_REPEAT = 3;
+const int MAXIMUM_REPEAT = 127 + MINIMUM_REPEAT;
-const uint64_t BASE_128_MASK = 0x7f;
+const int BASE_128_MASK = 0x7f;
const int MAX_DELTA = 127;
const int MIN_DELTA = -128;