Kaydet (Commit) 20c1d70f authored tarafından Jan Holesovsky's avatar Jan Holesovsky

MinGW: Workaround narrowing conversion in clucene.

Change-Id: I921d8140ecdf577687571a9aeca3100023f390d4
üst 52efa228
...@@ -23,3 +23,14 @@ ...@@ -23,3 +23,14 @@
}; };
const int32_t QueryParserTokenManager::jjnextStates[]={ const int32_t QueryParserTokenManager::jjnextStates[]={
15, 17, 18, 29, 32, 23, 33, 30, 20, 21, 32, 23, 33, 31, 34, 27, 15, 17, 18, 29, 32, 23, 33, 30, 20, 21, 32, 23, 33, 31, 34, 27,
--- src/core/CLucene/queryParser/legacy/Lexer.cpp.sav 2013-03-01 09:25:18.000000000 +0100
+++ src/core/CLucene/queryParser/legacy/Lexer.cpp 09:25:12.000000000 +0100
@@ -117,7 +117,7 @@ bool Lexer::GetNextToken(QueryToken* tok
if( _istspace(ch)!=0 ) {
continue;
}
- TCHAR buf[2] = {ch,'\0'};
+ TCHAR buf[2] = {TCHAR(ch),'\0'};
switch(ch) {
case '+':
token->set(buf, QueryToken::PLUS);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment