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

@ -646,7 +646,7 @@ private:
\param sizeWithoutHeader: Text size in characters without header
*/
template<class src_char_type>
void convertTextData(src_char_type* source, char* pointerToStore, int sizeWithoutHeader)
void convertTextData(src_char_type* source, char* pointerToStore, long sizeWithoutHeader)
{
// convert little to big endian if necessary
if (sizeof(src_char_type) > 1 &&