Commit fea400f8 by Vicent Marti

signature: Fix compilation

parent d0323a5f
...@@ -119,7 +119,7 @@ static int parse_timezone_offset(const char *buffer, long *offset_out) ...@@ -119,7 +119,7 @@ static int parse_timezone_offset(const char *buffer, long *offset_out)
return git__throw(GIT_EOBJCORRUPTED, "Failed to parse TZ offset. It doesn't start with '+' or '-'"); return git__throw(GIT_EOBJCORRUPTED, "Failed to parse TZ offset. It doesn't start with '+' or '-'");
if (offset_start[1] < '0' || offset_start[1] > '9') if (offset_start[1] < '0' || offset_start[1] > '9')
return git__throw(GIT_EOBJCORRUPTED, "Failed to parse TZ offset. return git__throw(GIT_EOBJCORRUPTED, "Failed to parse TZ offset.");
if (git__strtol32(&dec_offset, offset_start + 1, &offset_end, 10) < GIT_SUCCESS) if (git__strtol32(&dec_offset, offset_start + 1, &offset_end, 10) < GIT_SUCCESS)
return git__throw(GIT_EOBJCORRUPTED, "Failed to parse TZ offset. It isn't a number"); return git__throw(GIT_EOBJCORRUPTED, "Failed to parse TZ offset. It isn't a number");
......
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