diff --git a/distr/flecs.c b/distr/flecs.c index a7d7efa27..67ce693ba 100644 --- a/distr/flecs.c +++ b/distr/flecs.c @@ -49299,7 +49299,7 @@ char ecs_meta_get_char( } switch(op->kind) { case EcsOpChar: - return *(const ecs_char_t*)ptr != 0; + return *(const ecs_char_t*)ptr; case EcsOpOpaque: { /* If opaque type knows how to convert to char, retrieve it. Otherwise, fallback to default case (error). */