mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-11 15:37:23 +00:00
Fix type-conversion warning in MSVC
Signed-off-by: Vicent Marti <tanoku@gmail.com>
This commit is contained in:
parent
d6b5f5cca9
commit
86627121c8
@ -206,7 +206,7 @@ static trie_node *push_leaf(git_oid_shorten *os, node_index idx, int push_at, co
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
idx_leaf = os->node_count++;
|
idx_leaf = (node_index)os->node_count++;
|
||||||
|
|
||||||
if (os->node_count == SHRT_MAX)
|
if (os->node_count == SHRT_MAX)
|
||||||
os->full = 1;
|
os->full = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user