fix type mismatch when using custom allocators
fix type mismatch when using custom allocators

ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit