diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-09-21 23:17:39 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2011-09-22 18:58:47 +0200 |
| commit | ad196c6ae669e2d69503eba942402e7215ea7b82 (patch) | |
| tree | 68b2d1a76fbbbfdda942491c1211a74a11b46c16 /src/pkt.c | |
| parent | e1b86444676b70154bf8ab450d429bdef57a8276 (diff) | |
| download | libgit2-ad196c6ae669e2d69503eba942402e7215ea7b82.tar.gz | |
config: make git_config_[get|set]_long() able to properly deal with 8 bytes wide values
Should fix issue #419.
Signed-off-by: nulltoken <emeric.fermas@gmail.com>
Diffstat (limited to 'src/pkt.c')
| -rw-r--r-- | src/pkt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ static ssize_t parse_len(const char *line) { char num[PKT_LEN_SIZE + 1]; int i, error; - long len; + int len; const char *num_end; memcpy(num, line, PKT_LEN_SIZE); |
