mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
fix pointer to function pointer casting
This commit is contained in:
parent
a4b61ba550
commit
d391449bf8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user