summaryrefslogtreecommitdiff
path: root/include/git2/pkt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2/pkt.h')
-rw-r--r--include/git2/pkt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/pkt.h b/include/git2/pkt.h
index 7a91ed490..bcd5c81d1 100644
--- a/include/git2/pkt.h
+++ b/include/git2/pkt.h
@@ -56,5 +56,5 @@ struct git_pkt_ref {
*/
int git_pkt_gen_proto(char **out, int *outlen, const char *cmd, const char *url);
int git_pkt_send_request(int socket, const char *cmd, const char *url);
-int git_pkt_parse_line(git_pkt **head, const char *line, const char **out, unsigned int len);
+int git_pkt_parse_line(git_pkt **head, const char *line, const char **out, size_t len);
void git_pkt_free(git_pkt *pkt);