From a873f09ac2bf370e97eb595e4547894bcd1775d9 Mon Sep 17 00:00:00 2001 From: Serguei Bezverkhi Date: Tue, 16 Oct 2018 14:27:26 -0400 Subject: Fix compilation failure in libmemif adapter.go Change-Id: I39704999503bb4e61f6f0abe8aede5d1d569e5b7 Signed-off-by: Serguei Bezverkhi --- extras/libmemif/adapter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/libmemif/adapter.go b/extras/libmemif/adapter.go index d5a1563..8ade6bc 100644 --- a/extras/libmemif/adapter.go +++ b/extras/libmemif/adapter.go @@ -474,11 +474,11 @@ func Init(appName string) error { // Initialize C-libmemif. var errCode int if appName == "" { - errCode = int(C.memif_init(nil, nil, nil, nil)) + errCode = int(C.memif_init(nil, nil, nil, nil, nil)) } else { appName := C.CString(appName) defer C.free(unsafe.Pointer(appName)) - errCode = int(C.memif_init(nil, appName, nil, nil)) + errCode = int(C.memif_init(nil, appName, nil, nil, nil)) } err := getMemifError(errCode) if err != nil { -- cgit 1.2.3-korg