Commit fd9d4e28 by Edward Thomson

describe: don't mix and match abbreviated size types

The git_describe_format_options.abbreviated_size type is an unsigned
int.  There's no need for it to be anything else; keep it what it is.
parent 751eb462
......@@ -366,7 +366,7 @@ static int find_unique_abbrev_size(
int *out,
git_repository *repo,
const git_oid *oid_in,
int abbreviated_size)
unsigned int abbreviated_size)
{
size_t size = abbreviated_size;
git_odb *odb;
......@@ -401,7 +401,7 @@ static int show_suffix(
int depth,
git_repository *repo,
const git_oid* id,
size_t abbrev_size)
unsigned int abbrev_size)
{
int error, size = 0;
......
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