summaryrefslogtreecommitdiff
path: root/src/revwalk.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-09-21 23:17:39 +0200
committernulltoken <emeric.fermas@gmail.com>2011-09-22 18:58:47 +0200
commitad196c6ae669e2d69503eba942402e7215ea7b82 (patch)
tree68b2d1a76fbbbfdda942491c1211a74a11b46c16 /src/revwalk.c
parente1b86444676b70154bf8ab450d429bdef57a8276 (diff)
downloadlibgit2-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/revwalk.c')
-rw-r--r--src/revwalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.c b/src/revwalk.c
index 72eb69aba..2d70d40e9 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -172,7 +172,7 @@ static int commit_quick_parse(git_revwalk *walk, commit_object *commit, git_rawo
unsigned char *parents_start;
int i, parents = 0;
- long commit_time;
+ int commit_time;
buffer += strlen("tree ") + GIT_OID_HEXSZ + 1;