Core/Misc: MSVC warning fixes
This commit is contained in:
1 parent
4e7dabc09d
commit
9c1b965136
12 files changed
+43
-34
No files matched your search
@@ -234,7 +234,7 @@ void DatabaseWorkerPool<T>::EscapeString(std::string& str)
|
||||
return;
|
||||
|
||||
char* buf = new char[str.size() * 2 + 1];
|
||||
EscapeString(buf, str.c_str(), str.size());
|
||||
EscapeString(buf, str.c_str(), uint32(str.size()));
|
||||
str = buf;
|
||||
delete[] buf;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user