Commit f1d73189 by Edward Thomson

patch: use size_t for size when parsing

parent 9a6992c4
......@@ -33,7 +33,7 @@ typedef struct {
char *old_prefix, *new_prefix;
} git_patch_parsed;
static int header_path_len(git_patch_parse_ctx *ctx)
static size_t header_path_len(git_patch_parse_ctx *ctx)
{
bool inquote = 0;
bool quoted = git_parse_ctx_contains_s(&ctx->parse_ctx, "\"");
......
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