mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-09 01:01:05 +00:00
If the system uses very high memory addresses this error will be hit
This commit is contained in:
parent
fae4166fae
commit
edc8204a61
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ static void CheckLabel(PClassActor *obj, FStateLabel *slb, int useflag, FName st
|
|||
auto state = slb->State;
|
||||
if (state != nullptr)
|
||||
{
|
||||
if (intptr_t(state) <= 0xffff)
|
||||
if (uintptr_t(state) <= 0xffff)
|
||||
{
|
||||
// can't do much here aside from printing a message and aborting.
|
||||
I_Error("Bad state label %s in actor %s", slb->Label.GetChars(), obj->TypeName.GetChars());
|
||||
|
|
Loading…
Reference in a new issue