Merge pull request #22289 from nextcloud/techdebt/noid/fix-encryption-stream-invalid-scalar-arguments Cast float to int to avoid invalid scalar argument warning