Commit 86627121 by Vicent Marti

Fix type-conversion warning in MSVC

Signed-off-by: Vicent Marti <tanoku@gmail.com>
parent d6b5f5cc
......@@ -206,7 +206,7 @@ static trie_node *push_leaf(git_oid_shorten *os, node_index idx, int push_at, co
return NULL;
}
idx_leaf = os->node_count++;
idx_leaf = (node_index)os->node_count++;
if (os->node_count == SHRT_MAX)
os->full = 1;
......
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