1
0

remove warnings

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6373 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
engineer_apple
2022-05-03 20:49:27 +00:00
parent 5bd1c1d68b
commit 62db29bfd4
6 changed files with 10 additions and 10 deletions

View File

@@ -207,7 +207,7 @@ void CXMLWriter::writeText(const wchar_t* text)
// Making a member-variable would work, but a lot of memory would stay around after writing.
// So the correct solution is probably using fixed block here and always write when that is full.
core::stringw s;
s.reserve(wcslen(text)+1);
s.reserve((u32)wcslen(text)+1);
const wchar_t* p = text;
while(*p)
@@ -424,7 +424,7 @@ void CXMLWriterUTF8::writeText(const c8* text)
// Making a member-variable would work, but a lot of memory would stay around after writing.
// So the correct solution is probably using fixed block here and always write when that is full.
core::stringc s;
s.reserve(strlen(text)+1);
s.reserve((u32)strlen(text)+1);
const c8* p = text;
while(*p)