Commit 18aa18be by Edward Thomson

smart: use an unsigned int for a bitfield

parent 9ed52434
...@@ -203,7 +203,7 @@ int git_smart__update_heads(transport_smart *t, git_vector *symrefs); ...@@ -203,7 +203,7 @@ int git_smart__update_heads(transport_smart *t, git_vector *symrefs);
/* smart_pkt.c */ /* smart_pkt.c */
typedef struct { typedef struct {
git_oid_t oid_type; git_oid_t oid_type;
int seen_capabilities: 1; unsigned int seen_capabilities: 1;
} git_pkt_parse_data; } git_pkt_parse_data;
int git_pkt_parse_line(git_pkt **head, const char **endptr, const char *line, size_t linelen, git_pkt_parse_data *data); int git_pkt_parse_line(git_pkt **head, const char **endptr, const char *line, size_t linelen, git_pkt_parse_data *data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment