From 4021b635b138e2090317fadbc418bbd9f51e6b56 Mon Sep 17 00:00:00 2001 From: coco Date: Tue, 10 May 2016 23:18:08 +0200 Subject: [PATCH] fixed go bindings typo --- bindings/go/unicorn/unicorn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/go/unicorn/unicorn.go b/bindings/go/unicorn/unicorn.go index 42f619f9..06c2c237 100644 --- a/bindings/go/unicorn/unicorn.go +++ b/bindings/go/unicorn/unicorn.go @@ -154,7 +154,7 @@ func (u *uc) RegReadBatch(regs []int) ([]uint64, error) { } func (u *uc) MemRegions() ([]*MemRegion, error) { - var regions *C.struct_uc_mem_region + var regions *C.uc_mem_region var count C.uint32_t ucerr := C.uc_mem_regions(u.handle, ®ions, &count) if ucerr != C.UC_ERR_OK {