diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/game/card.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/game/card.cpp b/src/main/game/card.cpp index 2c7fb58..9f7dbdf 100644 --- a/src/main/game/card.cpp +++ b/src/main/game/card.cpp @@ -38,7 +38,7 @@ card::card(const char* c) : rank(-1), suit(-1) { s = c[1]; } - s = (char) tolower(s); + s = static_cast<char>(tolower(s)); if (s == 'c') { suit = 0; |
