Skip to content

Commit

Permalink
fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Sep 29, 2015
1 parent 11f08b5 commit d18efae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/libgit2/commit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ function commit(repo::GitRepo,
nparents = length(parents)
parentptrs = Ptr{Void}[c.ptr for c in parents]
@check ccall((:git_commit_create, :libgit2), Cint,
(Ptr{Oid}, Ptr{Void}, Ptr{Uint8},
(Ptr{Oid}, Ptr{Void}, Ptr{UInt8},
Ptr{SignatureStruct}, Ptr{SignatureStruct},
Ptr{Uint8}, Ptr{Uint8}, Ptr{Void},
Ptr{UInt8}, Ptr{UInt8}, Ptr{Void},
Csize_t, Ptr{Ptr{Void}}),
commit_id_ptr, repo.ptr, isempty(refname) ? C_NULL : refname,
author.ptr, committer.ptr,
Expand Down

0 comments on commit d18efae

Please sign in to comment.