lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From synhers...@apache.org
Subject lucenenet git commit: support negative numbers
Date Sun, 01 Feb 2015 11:39:53 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/master 26ebf9eaf -> f300a4de6


support negative numbers


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/f300a4de
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/f300a4de
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/f300a4de

Branch: refs/heads/master
Commit: f300a4de6efbedd709b44f1b42a358398fbfd1cb
Parents: 26ebf9e
Author: Laimonas Simutis <laimis@gmail.com>
Authored: Sun Feb 1 06:26:09 2015 -0500
Committer: Laimonas Simutis <laimis@gmail.com>
Committed: Sun Feb 1 06:26:09 2015 -0500

----------------------------------------------------------------------
 src/Lucene.Net.Core/Codecs/Lucene40/Lucene40DocValuesReader.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/f300a4de/src/Lucene.Net.Core/Codecs/Lucene40/Lucene40DocValuesReader.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Codecs/Lucene40/Lucene40DocValuesReader.cs b/src/Lucene.Net.Core/Codecs/Lucene40/Lucene40DocValuesReader.cs
index e89f8a9..4ada913 100644
--- a/src/Lucene.Net.Core/Codecs/Lucene40/Lucene40DocValuesReader.cs
+++ b/src/Lucene.Net.Core/Codecs/Lucene40/Lucene40DocValuesReader.cs
@@ -241,7 +241,7 @@ namespace Lucene.Net.Codecs.Lucene40
 
             public override long Get(int docID)
             {
-                return Values[docID];
+                return (sbyte)Values[docID];
             }
         }
 


Mime
View raw message