We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 237bd17 commit e7464a8Copy full SHA for e7464a8
1 file changed
flecs_ecs/src/addons/module/world.rs
@@ -39,7 +39,7 @@ impl World {
39
let symbol_name = core::any::type_name::<T>();
40
let symbol = compact_str::format_compact!("{}\0", symbol_name);
41
let m =
42
- unsafe { sys::ecs_lookup_symbol(raw_world, symbol.as_ptr() as *const i8, true, false) };
+ unsafe { sys::ecs_lookup_symbol(raw_world, symbol.as_ptr() as *const _, true, false) };
43
let module = if T::is_registered_with_world(self) && m != 0 {
44
self.component::<T>().entity
45
} else {
0 commit comments