Skip to content

Commit

Permalink
Merge pull request #3 from ethomson/ethomson/bitfield
Browse files Browse the repository at this point in the history
Use an unsigned int for bitfields
  • Loading branch information
ethomson authored Dec 14, 2023
2 parents e44e46a + a4b4d22 commit 29f82c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adopt.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ typedef struct adopt_parser {
size_t arg_idx;
size_t in_args;
size_t in_short;
int needs_sort : 1,
in_literal : 1;
unsigned int needs_sort : 1,
in_literal : 1;
} adopt_parser;

/**
Expand Down

0 comments on commit 29f82c6

Please sign in to comment.