diff options
author | Pierre-Olivier Latour <pol@mac.com> | 2015-06-02 08:36:15 -0700 |
---|---|---|
committer | Pierre-Olivier Latour <pol@mac.com> | 2015-06-02 11:49:38 -0700 |
commit | 9f3c18e2ac082454c955761f10f4a0d06390c27f (patch) | |
tree | 05ad8c3289df5f6ea3583127db3395aa9314b944 /src/odb.c | |
parent | be5fda75879f7ed89c7a72adc257872d1ea13803 (diff) | |
download | libgit2-9f3c18e2ac082454c955761f10f4a0d06390c27f.tar.gz |
Fixed build warnings on Xcode 6.1
Diffstat (limited to 'src/odb.c')
-rw-r--r-- | src/odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ static int load_alternates(git_odb *odb, const char *objects_dir, int alternate_ int git_odb__format_object_header(char *hdr, size_t n, git_off_t obj_len, git_otype obj_type) { const char *type_str = git_object_type2string(obj_type); - int len = p_snprintf(hdr, n, "%s %"PRIuZ, type_str, obj_len); + int len = p_snprintf(hdr, n, "%s %lld", type_str, obj_len); assert(len > 0 && len <= (int)n); return len+1; } |