fmt-merge-msg.c: Fix an "dubious one-bit signed bitfield" sparse error

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Ramsay Jones 2011-10-15 18:46:59 +01:00 committed by Junio C Hamano
parent 273c7032e9
commit 90a321c04c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ struct src_data {

struct origin_data {
unsigned char sha1[20];
int is_local_branch:1;
unsigned is_local_branch:1;
};

static void init_src_data(struct src_data *data)