diff --git a/distr/flecs.c b/distr/flecs.c index 5b1dc0d87..f94f30368 100644 --- a/distr/flecs.c +++ b/distr/flecs.c @@ -48855,7 +48855,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). */