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/tree.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/tree.c')
| -rw-r--r-- | src/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c index ce399a66a..2f9ae2ef1 100644 --- a/src/tree.c +++ b/src/tree.c @@ -157,7 +157,7 @@ static int tree_parse_buffer(git_tree *tree, const char *buffer, const char *buf while (buffer < buffer_end) { git_tree_entry *entry; - long tmp; + int tmp; entry = git__calloc(1, sizeof(git_tree_entry)); if (entry == NULL) { |
