fix filing array of "messages"

sizeof(sizeof(struct) * struct_count) == sizeof(size_t)