diff --git a/objc/type_convertion.go b/objc/type_convertion.go index fcd026a4..31a69249 100644 --- a/objc/type_convertion.go +++ b/objc/type_convertion.go @@ -254,7 +254,7 @@ func convertToGoValue(p unsafe.Pointer, t reflect.Type) reflect.Value { return reflect.ValueOf(ToGoSlice(*(*unsafe.Pointer)(p), t).Interface()) } case reflect.Map: - return reflect.ValueOf(ToGoMap(*(*unsafe.Pointer)(p), t)) + return ToGoMap(*(*unsafe.Pointer)(p), t) case reflect.Struct: return reflect.NewAt(t, p).Elem() case reflect.Func: