summaryrefslogtreecommitdiff
path: root/vendor/github.com/ostreedev/ostree-go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/ostreedev/ostree-go')
-rw-r--r--vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go b/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go
index 24822b2b7..8b0236ff6 100644
--- a/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go
+++ b/vendor/github.com/ostreedev/ostree-go/pkg/otbuiltin/builtin.go
@@ -112,8 +112,8 @@ func generateError(err *C.GError) error {
return goErr
}
-// isOk wraps a return value (gboolean/gint) into a bool.
+// isOk wraps a gboolean return value into a bool.
// 0 is false/error, everything else is true/ok.
-func isOk(v C.int) bool {
+func isOk(v C.gboolean) bool {
return glib.GoBool(glib.GBoolean(v))
}