File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lima_linguisticprocessing/src/linguisticProcessing/core/AnalysisDict Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ void EnhancedAnalysisDictionaryEntry::parseAccentedForms(
121
121
while (p!=end)
122
122
{
123
123
read = static_cast <StringsPoolIndex>(DictionaryData::readCodedInt (p));
124
- if (read == 0 )
124
+ if (read == static_cast <StringsPoolIndex>( 0 ) )
125
125
{
126
126
read = static_cast <StringsPoolIndex>(DictionaryData::readCodedInt (p));
127
127
handler->deleteAccentedForm (read);
Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ void LingInfoLevelState::next(FsaStringsPool& sp)
500
500
if (pos != posEnd)
501
501
{
502
502
currentLemma = DictionaryData::readCodedInt (pos);
503
- if (currentLemma == 0 )
503
+ if (currentLemma == static_cast <StringsPoolIndex>( 0 ) )
504
504
{
505
505
final = true ;
506
506
currentLemma = DictionaryData::readCodedInt (pos);
@@ -515,7 +515,7 @@ void LingInfoLevelState::next(FsaStringsPool& sp)
515
515
currentLemma = sp[lemmaStr];
516
516
}
517
517
currentNorm = DictionaryData::readCodedInt (pos);
518
- if (currentNorm == 0 )
518
+ if (currentNorm == static_cast <StringsPoolIndex>( 0 ) )
519
519
{
520
520
currentNorm = currentLemma;
521
521
normStr = lemmaStr;
@@ -898,7 +898,7 @@ void AccentedLevelState::next(FsaStringsPool& sp)
898
898
if (pos != posEnd)
899
899
{
900
900
accentedEntry = DictionaryData::readCodedInt (pos);
901
- if (accentedEntry == 0 )
901
+ if (accentedEntry == static_cast <StringsPoolIndex>( 0 ) )
902
902
{
903
903
final = true ;
904
904
accentedEntry = DictionaryData::readCodedInt (pos);
You can’t perform that action at this time.
0 commit comments