diff --git a/include/git2/reset.h b/include/git2/reset.h index 5f2ba572d..53f3e891e 100644 --- a/include/git2/reset.h +++ b/include/git2/reset.h @@ -70,7 +70,7 @@ GIT_EXTERN(int) git_reset( git_object *target, git_reset_t reset_type, git_checkout_options *checkout_opts, - git_signature *signature, + const git_signature *signature, const char *log_message); /** diff --git a/src/reset.c b/src/reset.c index d063abe25..dc3aa4a66 100644 --- a/src/reset.c +++ b/src/reset.c @@ -101,7 +101,7 @@ int git_reset( git_object *target, git_reset_t reset_type, git_checkout_options *checkout_opts, - git_signature *signature, + const git_signature *signature, const char *log_message) { git_object *commit = NULL;