From 2aa1e94d3075426563303816dce596793756ea6c Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Wed, 9 May 2012 10:30:34 -0700 Subject: [PATCH] Fix 64-bit build warning --- src/attr_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;