diff options
author | Russell Belfer <rb@github.com> | 2012-05-09 10:30:34 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-05-09 10:30:34 -0700 |
commit | 2aa1e94d3075426563303816dce596793756ea6c (patch) | |
tree | e2038ffde68c4937e72f0ca87427e72919086e51 | |
parent | 075d6e7dd7c8ecdcbb79ed944a014c153048801f (diff) | |
download | libgit2-2aa1e94d3075426563303816dce596793756ea6c.tar.gz |
Fix 64-bit build warning
-rw-r--r-- | src/attr_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr_file.c b/src/attr_file.c index 4409d744a..49ff7319f 100644 --- a/src/attr_file.c +++ b/src/attr_file.c @@ -35,7 +35,7 @@ int git_attr_file__new( if (path) { size_t len = strlen(path); - attrs->key = git_pool_malloc(attrs->pool, len + 3); + attrs->key = git_pool_malloc(attrs->pool, (uint32_t)len + 3); GITERR_CHECK_ALLOC(attrs->key); attrs->key[0] = '0' + from; |