Internal int type change.

Values are constrained to a closed set, all positive.


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

Branch: refs/heads/master
Commit: 9b7e53fef47f613ac0240c12cdd37d448ad32802
Parents: 06c0800
Author: Marvin Humphrey <[email protected]>
Authored: Thu May 26 20:02:42 2016 -0700
Committer: Marvin Humphrey <[email protected]>
Committed: Thu May 26 20:11:14 2016 -0700

----------------------------------------------------------------------
 core/Lucy/Search/QueryParser/QueryLexer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/9b7e53fe/core/Lucy/Search/QueryParser/QueryLexer.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Search/QueryParser/QueryLexer.c 
b/core/Lucy/Search/QueryParser/QueryLexer.c
index c86c690..87200b8 100644
--- a/core/Lucy/Search/QueryParser/QueryLexer.c
+++ b/core/Lucy/Search/QueryParser/QueryLexer.c
@@ -36,7 +36,7 @@
 
 static ParserElem*
 S_consume_keyword(StringIterator *iter, const char *keyword,
-                  size_t keyword_len, int type);
+                  size_t keyword_len, uint32_t type);
 
 static ParserElem*
 S_consume_field(StringIterator *iter);
@@ -162,7 +162,7 @@ QueryLexer_Tokenize_IMP(QueryLexer *self, String 
*query_string) {
 
 static ParserElem*
 S_consume_keyword(StringIterator *iter, const char *keyword,
-                  size_t keyword_len, int type) {
+                  size_t keyword_len, uint32_t type) {
     if (!StrIter_Starts_With_Utf8(iter, keyword, keyword_len)) {
         return NULL;
     }

Reply via email to