diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/workflows/tailcall/tailcall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/workflows/tailcall/tailcall.cpp b/examples/workflows/tailcall/tailcall.cpp index 294b6471..0fed369d 100644 --- a/examples/workflows/tailcall/tailcall.cpp +++ b/examples/workflows/tailcall/tailcall.cpp @@ -74,8 +74,8 @@ extern "C" DataVariable var; if (data->GetDataVariableAtAddress(target.value, var)) { - if (var.type && (var.type->GetClass() == PointerTypeClass) - && (var.type->GetChildType()->GetClass() == FunctionTypeClass)) + if (var.type.GetValue() && (var.type->GetClass() == PointerTypeClass) + && (var.type->GetChildType()->GetClass() == FunctionTypeClass)) canReturn = var.type->GetChildType()->CanReturn().GetValue(); } } |
