stringstream ss;
if (abs(v) < VALUE_MATE_IN_MAX_PLY)
- ss << "cp " << v * 100 / int(PawnValueEg);
+ ss << "cp " << v * 100 / PawnValueEg;
else
ss << "mate " << (v > 0 ? VALUE_MATE - v + 1 : -VALUE_MATE - v) / 2;
}
if (!others)
- { /* disambiguation is not needed */ }
+ { /* Disambiguation is not needed */ }
else if (!(others & file_bb(from)))
san += to_char(file_of(from));