Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-04-27 00:04:54 +0400
committerRussell Belfer <rb@github.com>2012-04-27 00:04:54 +0400
commit821f6bc7404122260a46796422c011105a33638f (patch)
tree13a7c69cae57a5804363bc72fc3d10abd7d520d4 /src/revwalk.c
parent631ba94e0e489d4baf4e289539a9acf084953c32 (diff)
Fix Win32 warnings
Diffstat (limited to 'src/revwalk.c')
-rw-r--r--src/revwalk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revwalk.c b/src/revwalk.c
index 4f2f82798..c62bb4e0e 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -141,7 +141,7 @@ static commit_object **alloc_parents(
return (commit_object **)((char *)commit + sizeof(commit_object));
return (commit_object **)git_pool_malloc(
- &walk->commit_pool, n_parents * sizeof(commit_object *));
+ &walk->commit_pool, (uint32_t)(n_parents * sizeof(commit_object *)));
}