Fix argument check for pointer calls