Fix/suppress plethora of integer conversion warnings on x64 Visual Studio build.

This commit is contained in:
Stinkfist0
2015-11-03 17:58:08 +02:00
parent a749775045
commit d4b51a82e7
11 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -467,7 +467,7 @@ boost::dynamic_bitset<> TokenFunc::asBinary(const Token& t) {
}
++it;
unsigned i = (str.size()-1) * 4 - n;
unsigned i = ((unsigned)str.size()-1) * 4 - n;
boost::dynamic_bitset<> bitset(i);
for(; it != str.end(); ++it) {