diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-05-19 16:45:35 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-05-19 16:45:35 +0900 |
| commit | bca6aba72e85b87142ae02a0ea2a486f9581ead4 (patch) | |
| tree | f93ad4020c27fa17ddabf2ec99241b71d1cb87dd | |
| parent | 8cbad4935e7ed47934476d7df61e5758aca074e9 (diff) | |
| parent | 56bea280365238f0313f177b66fda6f87049d094 (diff) | |
| download | git-bca6aba72e85b87142ae02a0ea2a486f9581ead4.tar.xz | |
Merge branch 'jc/set-packet-header-signature-fix'
Code clean-up.
* jc/set-packet-header-signature-fix:
pkt-line: drop 'const'-ness of a param to set_packet_header()
| -rw-r--r-- | pkt-line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkt-line.c b/pkt-line.c index c9ed780d0b..a0e87b1e81 100644 --- a/pkt-line.c +++ b/pkt-line.c @@ -119,7 +119,7 @@ void packet_buf_delim(struct strbuf *buf) strbuf_add(buf, "0001", 4); } -void set_packet_header(char *buf, const int size) +void set_packet_header(char *buf, int size) { static char hexchar[] = "0123456789abcdef"; |
