Commit 2aa1e94d by Russell Belfer

Fix 64-bit build warning

parent 075d6e7d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment