Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
begla committed Jul 29, 2024
2 parents d66b029 + da0bf0f commit 4dc24f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iolite_c_api/iolite_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ inline io_variant_t io_variant_from_bool(io_bool_t value)
//----------------------------------------------------------------------------//
inline io_bool_t io_variant_get_bool(io_variant_t variant)
{
if (variant.type.hash != io_variant_type_uint64)
if (variant.type.hash != io_variant_type_bool)
return IO_FALSE;
return *(io_bool_t*)variant.data;
}
Expand Down

0 comments on commit 4dc24f6

Please sign in to comment.