diff options
Diffstat (limited to 'prog/resources.go')
| -rw-r--r-- | prog/resources.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/resources.go b/prog/resources.go index 6ae33c83f..299e8571c 100644 --- a/prog/resources.go +++ b/prog/resources.go @@ -33,7 +33,7 @@ func (target *Target) calcResourceCtors(kind []string, precise bool) []*Syscall // isCompatibleResource returns true if resource of kind src can be passed as an argument of kind dst. func (target *Target) isCompatibleResource(dst, src string) bool { - if dst == target.anyRes32.TypeName || dst == target.anyRes64.TypeName { + if dst == target.any.res32.TypeName || dst == target.any.res64.TypeName { return true } dstRes := target.resourceMap[dst] |
