summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stash.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stash.go b/stash.go
index 8d8f984..809732e 100644
--- a/stash.go
+++ b/stash.go
@@ -62,7 +62,7 @@ func (c *StashCollection) Save(
ret := C.git_stash_save(
oid.toC(), c.repo.ptr,
- stasherC, messageC, C.uint(flags))
+ stasherC, messageC, C.uint32_t(flags))
if ret < 0 {
return nil, MakeGitError(ret)