Skip to content

Commit 90a321c

Browse files
Ramsay Jonesgitster
authored andcommitted
fmt-merge-msg.c: Fix an "dubious one-bit signed bitfield" sparse error
Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 273c703 commit 90a321c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/fmt-merge-msg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct src_data {
3737

3838
struct origin_data {
3939
unsigned char sha1[20];
40-
int is_local_branch:1;
40+
unsigned is_local_branch:1;
4141
};
4242

4343
static void init_src_data(struct src_data *data)

0 commit comments

Comments
 (0)