Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/args.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct args_info {
int argc;
char **argv;
int pos;
int opts_done : 1; /**< Did we see a -- separator */
unsigned int opts_done : 1; /**< Did we see a -- separator */
};
#define ARGS_INFO_INIT { argc, argv, 0, 0 }
#define ARGS_CURRENT(args) args->argv[args->pos]
Expand Down
6 changes: 3 additions & 3 deletions examples/checkout.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
*/

typedef struct {
int force : 1;
int progress : 1;
int perf : 1;
unsigned int force : 1;
unsigned int progress : 1;
unsigned int perf : 1;
} checkout_options;

static void print_usage(void)
Expand Down
2 changes: 1 addition & 1 deletion examples/merge.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct merge_options {
git_annotated_commit **annotated;
size_t annotated_count;

int no_commit : 1;
unsigned int no_commit : 1;
};

static void print_usage(void)
Expand Down