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 /include/git2 | |
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 'include/git2')
-rw-r--r-- | include/git2/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/config.h b/include/git2/config.h index 74ee96bde..83ed2f91c 100644 --- a/include/git2/config.h +++ b/include/git2/config.h @@ -164,7 +164,7 @@ GIT_EXTERN(int) git_config_get_int(git_config *cfg, const char *name, int *out); * @param out pointer to the variable where the value should be stored * @return GIT_SUCCESS or an error code */ -GIT_EXTERN(int) git_config_get_long(git_config *cfg, const char *name, long int *out); +GIT_EXTERN(int) git_config_get_long(git_config *cfg, const char *name, long long *out); /** * Get the value of a boolean config variable. @@ -210,7 +210,7 @@ GIT_EXTERN(int) git_config_set_int(git_config *cfg, const char *name, int value) * @param value Long integer value for the variable * @return GIT_SUCCESS or an error code */ -GIT_EXTERN(int) git_config_set_long(git_config *cfg, const char *name, long int value); +GIT_EXTERN(int) git_config_set_long(git_config *cfg, const char *name, long long value); /** * Set the value of a boolean config variable. |