summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalin Seciu <[email protected]>2016-02-20 14:58:48 +0200
committerCalin Seciu <[email protected]>2016-02-20 14:58:48 +0200
commit71ff6ab0d5afb13c555da799ee69b055acd3954c (patch)
treef6c83d8e660095c9c361f1aec10663ed18a3efb4
parentc6f394e407a8f119eea191e1321f61828921f164 (diff)
Fix error after updating to latest changes
-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)