diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2019-05-21 13:44:47 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-24 15:00:41 +0100 |
| commit | d103f0088745327e052f425b1166fe3f6ef503ed (patch) | |
| tree | 0f423a5fbea55e5b16132cd9a4b5af7484bb83b9 /src/commit_list.c | |
| parent | c4a64b1b86800e81985f08e3d7a97d041ca739a8 (diff) | |
| download | libgit2-d103f0088745327e052f425b1166fe3f6ef503ed.tar.gz | |
pool: use `size_t` for sizes
Diffstat (limited to 'src/commit_list.c')
| -rw-r--r-- | src/commit_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit_list.c b/src/commit_list.c index 5496dca44..44673d9bc 100644 --- a/src/commit_list.c +++ b/src/commit_list.c @@ -73,7 +73,7 @@ static git_commit_list_node **alloc_parents( return (git_commit_list_node **)((char *)commit + sizeof(git_commit_list_node)); return (git_commit_list_node **)git_pool_malloc( - &walk->commit_pool, (uint32_t)(n_parents * sizeof(git_commit_list_node *))); + &walk->commit_pool, (n_parents * sizeof(git_commit_list_node *))); } |
