aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/convar/convar.cpp
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2024-01-21 19:34:19 +0000
committerGitHub <noreply@github.com>2024-01-21 20:34:19 +0100
commit7f84bdf8fd5c93286f000bc5f9314eab81128cee (patch)
treed97974691eb50b7cd8a2bf8a7cbc342fdc7bdd44 /primedev/core/convar/convar.cpp
parente72f0cbbac6ffcbfbf0c52f14a2a3cb7c18ba8fc (diff)
downloadNorthstarLauncher-7f84bdf8fd5c93286f000bc5f9314eab81128cee.tar.gz
NorthstarLauncher-7f84bdf8fd5c93286f000bc5f9314eab81128cee.zip
Address C4267 compiler warnings (#647)v1.22.2-rc1
Implicit conversion from `size_t` to a smaller type
Diffstat (limited to 'primedev/core/convar/convar.cpp')
-rw-r--r--primedev/core/convar/convar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/core/convar/convar.cpp b/primedev/core/convar/convar.cpp
index e77ae1fd..94e41fee 100644
--- a/primedev/core/convar/convar.cpp
+++ b/primedev/core/convar/convar.cpp
@@ -382,7 +382,7 @@ void ConVar::ChangeStringValue(const char* pszTempVal, float flOldValue)
if (pszTempVal)
{
- int len = strlen(pszTempVal) + 1;
+ size_t len = strlen(pszTempVal) + 1;
if (len > m_Value.m_iStringLength)
{