summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-12-18 23:02:53 +0000
committerCarlos Martín Nieto <[email protected]>2014-12-18 23:02:53 +0000
commit74957c2ae6dc852a50de54fc788f207d8f385d67 (patch)
tree6fcd4f4406418784fae58c85e90ab75a8489318d
parentd69c7714530f12ec9b45578d5f06813d974f7ef2 (diff)
Add missing return type
-rw-r--r--wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrapper.c b/wrapper.c
index 7832d7f..3779653 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -71,7 +71,7 @@ void _go_git_setup_diff_notify_callbacks(git_diff_options *opts) {
void _go_git_setup_callbacks(git_remote_callbacks *callbacks) {
typedef int (*completion_cb)(git_remote_completion_type type, void *data);
typedef int (*update_tips_cb)(const char *refname, const git_oid *a, const git_oid *b, void *data);
- typedef (*push_update_reference_cb)(const char *refname, const char *status, void *data);
+ typedef int (*push_update_reference_cb)(const char *refname, const char *status, void *data);
callbacks->sideband_progress = (git_transport_message_cb)sidebandProgressCallback;
callbacks->completion = (completion_cb)completionCallback;