Commit 64071de1 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Possible pointer int size issue in llinitparam

parent 48725b77
...@@ -514,10 +514,10 @@ namespace LLInitParam ...@@ -514,10 +514,10 @@ namespace LLInitParam
} }
else else
{ {
found_it = mParserReadFuncs->find(&typeid(S32)); found_it = mParserReadFuncs->find(&typeid(size_t));
if (found_it != mParserReadFuncs->end()) if (found_it != mParserReadFuncs->end())
{ {
S32 int_value; size_t int_value;
bool parsed = found_it->second(*this, (void*)&int_value); bool parsed = found_it->second(*this, (void*)&int_value);
param = (T)int_value; param = (T)int_value;
return parsed; return parsed;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment