aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-02-22 17:43:37 +0000
committergingerBill <bill@gingerbill.org>2024-02-22 17:43:37 +0000
commitfc07211772e37865c928a12ab01663baa940cf28 (patch)
treeca090264da492fbe14f4f2772a1dbdb494504e70 /src
parentc9e37a08be896356ccbe011007f664dc2c78e962 (diff)
Change hack a little
Diffstat (limited to 'src')
-rw-r--r--src/docs_writer.cpp2
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;
}