fix linkage
ARRAY.Py: explicit type conversion to avoid warnings