diff options
author | Brandon Casey <drafnel@gmail.com> | 2010-04-06 10:11:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-06 21:55:50 -0700 |
commit | a751b5cc96c87be3b794a9e24c2beb7a8740c645 (patch) | |
tree | 42a28aa1eec49fbbf819b678146cb7970a98166c | |
parent | Git 1.7.1-rc0 (diff) | |
download | tgif-a751b5cc96c87be3b794a9e24c2beb7a8740c645.tar.xz |
notes.h: declare bit field as unsigned to silence compiler complaints
The IRIX MIPSPro compiler complains like this:
cc-1107 c99: WARNING File = notes.h, Line = 215
A signed bit field has a length of 1 bit.
int suppress_default_notes:1;
^
'unsigned' is what was intended, so lets make it so.
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | notes.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -212,7 +212,7 @@ void format_note(struct notes_tree *t, const unsigned char *object_sha1, struct string_list; struct display_notes_opt { - int suppress_default_notes:1; + unsigned int suppress_default_notes:1; struct string_list *extra_notes_refs; }; |