diff options
author | Russell Belfer <rb@github.com> | 2012-04-27 00:04:54 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-04-27 00:04:54 +0400 |
commit | 821f6bc7404122260a46796422c011105a33638f (patch) | |
tree | 13a7c69cae57a5804363bc72fc3d10abd7d520d4 /src/revwalk.c | |
parent | 631ba94e0e489d4baf4e289539a9acf084953c32 (diff) |
Fix Win32 warnings
Diffstat (limited to 'src/revwalk.c')
-rw-r--r-- | src/revwalk.c | 2 |
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 *))); } |