diff options
Diffstat (limited to 'examples/add.c')
-rw-r--r-- | examples/add.c | 2 |
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 } |