Skip to content

Commit

Permalink
address compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmwng committed Feb 9, 2016
1 parent cb6ba28 commit b50e06e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sudoku/sudoku.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ namespace like
stNumber.lGroupSet |= (1 << (&stGroupBox - astGroup));
stNumber.lGroupSet |= (1 << (&stGroupCol - astGroup));
stNumber.lGroupSet |= (1 << (&stGroupRow - astGroup));
stGroupBox.alNumberIndex[x1 + y1 * 3] = &stNumber - astNumber;
stGroupCol.alNumberIndex[y1 + y0 * 3] = &stNumber - astNumber;
stGroupRow.alNumberIndex[x1 + x0 * 3] = &stNumber - astNumber;
stGroupBox.alNumberIndex[x1 + y1 * 3] = static_cast<long>(&stNumber - astNumber);
stGroupCol.alNumberIndex[y1 + y0 * 3] = static_cast<long>(&stNumber - astNumber);
stGroupRow.alNumberIndex[x1 + x0 * 3] = static_cast<long>(&stNumber - astNumber);
}
}
}
Expand Down

0 comments on commit b50e06e

Please sign in to comment.