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 {