Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/add.c')
-rw-r--r--examples/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/add.c b/examples/add.c
index 336596bde..0c6076e81 100644
--- a/examples/add.c
+++ b/examples/add.c
@@ -78,7 +78,7 @@ int print_matched_cb(const char *path, const char *matched_pathspec, void *paylo
git_status_t status;
(void)matched_pathspec;
- if (git_status_file(&status, p.repo, path)) {
+ if (git_status_file((unsigned int*)(&status), p.repo, path)) {
return -1; //abort
}