RMG-Core: use c++ style casts instead of c style casts

This commit is contained in:
Rosalie Wanders
2025-03-04 22:07:31 +01:00
parent 3c3c0d2b16
commit 4a931f81c4
14 changed files with 81 additions and 80 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ CORE_EXPORT std::string CoreConvertStringEncoding(std::string str, CoreStringEnc
char outputBuf[256] = {0};
char* inputBufPtr = (char*)str.c_str();
char* inputBufPtr = const_cast<char*>(str.c_str());
char* outputBufPtr = outputBuf;
size_t inputBufSize = str.size();