Commit a4f863af by Ramsay Jones

Fix an always false comparison "unsigned < 0" warning

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
parent 803a6b4d
......@@ -503,7 +503,7 @@ static int make_temp_file(git_file *fd, char *tmp, size_t n, char *file)
{
char *template = "/tmp_obj_XXXXXX";
size_t tmplen = strlen(template);
size_t dirlen;
int dirlen;
if ((dirlen = git__dirname(tmp, n, file)) < 0)
return GIT_ERROR;
......
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