Skip to content

Commit

Permalink
Use an unsigned int for bitfields
Browse files Browse the repository at this point in the history
  • Loading branch information
ethomson committed Dec 14, 2023
1 parent e44e46a commit a4b4d22
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 a4b4d22

Please sign in to comment.