Skip to content

Commit

Permalink
Eliminate a signed/unsigned comparison warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
rokicki committed Feb 25, 2025
1 parent 044c823 commit fabfb70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/god.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ ull recur(const vector<setinfo> &mt, vector<ull> &offsets, int at, int rdv,
// offsets[at*nmoves+mv] << " " << mt[at].movetable[ofr*nmoves+mv]
// << endl ;
ull wbits = bits[woff >> 5];
if (((wbits >> ((woff & 31) * 2)) & 3) == rdv) {
if ((int)(((wbits >> ((woff & 31) * 2)) & 3)) == rdv) {
bits[roff + o] += ((ull)wrv) << o2;
r++;
break;
Expand Down

0 comments on commit fabfb70

Please sign in to comment.