Skip to content

Commit a4be5a9

Browse files
committed
Match worktree version const types with other version consts
1 parent 9e89b47 commit a4be5a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libgit2-sys/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ pub struct git_worktree_add_options {
18301830
pub reference: *mut git_reference,
18311831
}
18321832

1833-
pub const GIT_WORKTREE_ADD_OPTIONS_VERSION: u32 = 1;
1833+
pub const GIT_WORKTREE_ADD_OPTIONS_VERSION: c_uint = 1;
18341834

18351835
git_enum! {
18361836
pub enum git_worktree_prune_t {
@@ -1849,7 +1849,7 @@ pub struct git_worktree_prune_options {
18491849
pub flags: u32,
18501850
}
18511851

1852-
pub const GIT_WORKTREE_PRUNE_OPTIONS_VERSION: u32 = 1;
1852+
pub const GIT_WORKTREE_PRUNE_OPTIONS_VERSION: c_uint = 1;
18531853

18541854
extern "C" {
18551855
// threads

0 commit comments

Comments
 (0)