fix pointer to function pointer casting

This commit is contained in:
Fabian Greffrath 2022-06-24 22:12:28 +02:00
parent a4b61ba550
commit d391449bf8

View File

@ -273,7 +273,7 @@ static void saveg_read_thinker_t(thinker_t *str)
str->next = saveg_readp();
// think_t function;
str->function = saveg_readp();
str->function = (think_t)(intptr_t)saveg_readp();
// struct thinker_s* cnext;
str->cnext = saveg_readp();