summaryrefslogtreecommitdiff
path: root/include/git2/worktree.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-06-04 22:44:30 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2017-06-04 22:44:30 +0100
commitf0848dd7e0d137939eb969af03bd75f9bf318286 (patch)
treeeff37f7ebcfa02d7472d780152acd706ca334359 /include/git2/worktree.h
parent883eeb5f909f230822c0bc025d3f9ce79781de04 (diff)
downloadlibgit2-f0848dd7e0d137939eb969af03bd75f9bf318286.tar.gz
worktree: upgrade lock to an int
Diffstat (limited to 'include/git2/worktree.h')
-rw-r--r--include/git2/worktree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/worktree.h b/include/git2/worktree.h
index e3bafc3d0..d3fa88e3f 100644
--- a/include/git2/worktree.h
+++ b/include/git2/worktree.h
@@ -77,7 +77,7 @@ GIT_EXTERN(int) git_worktree_validate(const git_worktree *wt);
typedef struct git_worktree_add_options {
unsigned int version;
- char lock; /**< lock newly created worktree */
+ int lock; /**< lock newly created worktree */
} git_worktree_add_options;
#define GIT_WORKTREE_ADD_OPTIONS_VERSION 1