Skip to content

Commit dbf4b73

Browse files
authored
Merge pull request #1 from theo77186/xboard-report
Fix xboard node reporting
2 parents a35d2ba + 729f56b commit dbf4b73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/lib/src/xboardengine.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,9 +671,9 @@ void XboardEngine::parseLine(const QString& line)
671671
// Node count
672672
if ((ref = nextToken(ref)).isNull())
673673
return;
674-
val = ref.toString().toULongLong(&ok);
674+
unsigned long long node = ref.toString().toULongLong(&ok);
675675
if (ok)
676-
m_eval.setNodeCount(val);
676+
m_eval.setNodeCount(node);
677677

678678
// Principal variation
679679
if ((ref = nextToken(ref, true)).isNull())

0 commit comments

Comments
 (0)