From 5e586f37819fa4935403417666a3a1ec9a45dea9 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Fri, 16 Jun 2017 05:38:19 -0400 Subject: [PATCH] Vendor in ostree fixes This will fix the compiler issues. Signed-off-by: Dan Walsh --- vendor.conf | 2 +- .../github.com/ostreedev/ostree-go/pkg/glibobject/gobject.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vendor.conf b/vendor.conf index ce213d93..2ff91d75 100644 --- a/vendor.conf +++ b/vendor.conf @@ -31,7 +31,7 @@ github.com/xeipuuv/gojsonschema master github.com/xeipuuv/gojsonreference master github.com/xeipuuv/gojsonpointer master go4.org master https://github.com/camlistore/go4 -github.com/ostreedev/ostree-go 61532f383f1f48e5c27080b0b9c8b022c3706a97 +github.com/ostreedev/ostree-go 75b58d2519fcee494d970944524ae124b2631845 # -- end OCI image validation requirements github.com/mtrmac/gpgme master # openshift/origin' k8s dependencies as of OpenShift v1.1.5 diff --git a/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gobject.go b/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gobject.go index 14a1e72b..dedbe749 100644 --- a/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gobject.go +++ b/vendor/github.com/ostreedev/ostree-go/pkg/glibobject/gobject.go @@ -66,11 +66,11 @@ func (v *GObject) Unref() { } func (v *GObject) RefSink() { - C.g_object_ref_sink(v.native()) + C.g_object_ref_sink(C.gpointer(v.native())) } func (v *GObject) IsFloating() bool { - c := C.g_object_is_floating(v.native()) + c := C.g_object_is_floating(C.gpointer(v.native())) return GoBool(GBoolean(c)) }