diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-03-18 22:13:37 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-03-18 22:13:37 +0200 |
commit | f4792bc06f21335fc2d1171d937ea7645ca0c253 (patch) | |
tree | c7b11cf81f254f5b9ed2f5dbfe127649abc7545a /src/spellmanager.cpp | |
parent | f98d003e354a1792117b7cbc771d1dd91475a156 (diff) | |
download | manaplus-f4792bc06f21335fc2d1171d937ea7645ca0c253.tar.gz manaplus-f4792bc06f21335fc2d1171d937ea7645ca0c253.tar.bz2 manaplus-f4792bc06f21335fc2d1171d937ea7645ca0c253.tar.xz manaplus-f4792bc06f21335fc2d1171d937ea7645ca0c253.zip |
Fix most conversions except manaserv net code and some other code.
Diffstat (limited to 'src/spellmanager.cpp')
-rw-r--r-- | src/spellmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spellmanager.cpp b/src/spellmanager.cpp index ef630fc67..31451c09a 100644 --- a/src/spellmanager.cpp +++ b/src/spellmanager.cpp @@ -198,19 +198,19 @@ std::string SpellManager::parseCommand(std::string command, bool found = false; - int idx = command.find("<TARGET>"); + int idx = static_cast<int>(command.find("<TARGET>")); if (idx >= 0) { found = true; command = replaceAll(command, "<TARGET>", name); } - idx = command.find("<TARGETID>"); + idx = static_cast<int>(command.find("<TARGETID>")); if (idx >= 0) { found = true; command = replaceAll(command, "<TARGETID>", id); } - idx = command.find("<TARGETORSELF>"); + idx = static_cast<int>(command.find("<TARGETORSELF>")); if (idx >= 0) { found = true; |