diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-22 17:43:37 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-22 17:43:37 +0000 |
| commit | fc07211772e37865c928a12ab01663baa940cf28 (patch) | |
| tree | ca090264da492fbe14f4f2772a1dbdb494504e70 | |
| parent | c9e37a08be896356ccbe011007f664dc2c78e962 (diff) | |
Change hack a little
| -rw-r--r-- | src/docs_writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docs_writer.cpp b/src/docs_writer.cpp index 45484e13b..1bc244918 100644 --- a/src/docs_writer.cpp +++ b/src/docs_writer.cpp @@ -893,7 +893,7 @@ gb_internal OdinDocEntityIndex odin_doc_add_entity(OdinDocWriter *w, Entity *e) } if (e->flags & EntityFlag_BitFieldField) { - field_group_index = cast(i32)e->Variable.bit_field_bit_size; + field_group_index = -cast(i32)e->Variable.bit_field_bit_size; } else { field_group_index = e->Variable.field_group_index; } |