Fix compile warnings LOGICAL -> INT
Fix compile warnings LOGICAL -> INT

Fix compile warnings about Logical to Integer conversions using the
transfer()-function.

sourceryinstitute/opencoarrays,sourceryinstitute/opencoarrays,sourceryinstitute/opencoarrays