diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-09-29 16:23:24 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-09-29 16:23:24 +0200 |
| commit | 780bea6e261cf19cb4bf826de343afcdb362f1b7 (patch) | |
| tree | ebe50ae63e61c34b59177d4905cc472f8e610bf8 /src/config.c | |
| parent | c103d7b4b7e5fff1e5ec548ca24c16b1d2be33b8 (diff) | |
| download | libgit2-780bea6e261cf19cb4bf826de343afcdb362f1b7.tar.gz | |
mingw: Fix printf identifiers
Diffstat (limited to 'src/config.c')
| -rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 2b3e53589..852c2e15c 100644 --- a/src/config.c +++ b/src/config.c @@ -167,7 +167,7 @@ int git_config_delete(git_config *cfg, const char *name) int git_config_set_long(git_config *cfg, const char *name, long long value) { char str_value[32]; /* All numbers should fit in here */ - p_snprintf(str_value, sizeof(str_value), "%lld", value); + p_snprintf(str_value, sizeof(str_value), "%" PRIdMAX, value); return git_config_set_string(cfg, name, str_value); } |
