Skip to content

Commit

Permalink
Fix: is_alias must be an int to allow for -1 as false.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Sep 7, 2024
1 parent be9c3b5 commit 613eb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite/cstest/include/test_case.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static const cyaml_schema_field_t test_insn_data_mapping_schema[] = {
CYAML_FIELD_STRING_PTR(
"op_str", CYAML_FLAG_POINTER_NULL_STR | CYAML_FLAG_OPTIONAL,
TestInsnData, op_str, 0, CYAML_UNLIMITED),
CYAML_FIELD_UINT("is_alias", CYAML_FLAG_OPTIONAL, TestInsnData,
CYAML_FIELD_INT("is_alias", CYAML_FLAG_OPTIONAL, TestInsnData,
is_alias),
CYAML_FIELD_INT("alias_id",
CYAML_FLAG_SCALAR_PLAIN | CYAML_FLAG_OPTIONAL,
Expand Down

0 comments on commit 613eb9c

Please sign in to comment.