libgit2 errors are int-sized.
Merge pull request #226 from libgit2/int-errors

libgit2 errors are int-sized.