Fix reference for ENGINE_EVENT_UNKNOWN sizeof
This commit is contained in:
parent
4bc128788f
commit
f430928788
@ -31,7 +31,7 @@ struct ENGINE_EVENT * engine_event_get() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unknown:
|
unknown:
|
||||||
struct ENGINE_EVENT_UNKNOWN * data = engine_memory_alloc(NULL,sizeof(struct ENGINE_EVENT_INPUT_KB));
|
struct ENGINE_EVENT_UNKNOWN * data = engine_memory_alloc(NULL,sizeof(struct ENGINE_EVENT_UNKNOWN));
|
||||||
event->type = ENGINE_EVENT_TYPE_UNKNOWN;
|
event->type = ENGINE_EVENT_TYPE_UNKNOWN;
|
||||||
event->data = data;
|
event->data = data;
|
||||||
return event;
|
return event;
|
||||||
|
Loading…
Reference in New Issue
Block a user