Can't reinterpret float pointer as size_t pointer as the sizes mismatch, fix ryzom/ryzomcore#605 switch case on 64bit, ref kaetemi/ryzomclassic#124

ryzomclassic-develop
kaetemi 5 years ago
parent f5eae12b80
commit 09cb0ea5d0

@ -991,7 +991,7 @@ void CScriptVM::interpretCode(
{
float val = (float&)stack.top();
stack.pop();
compValue = *((size_t*)&val);
compValue = *((uint32*)&val);
}
break;
default:

Loading…
Cancel
Save