To reduce the number of casts required and avoid a scan-build warning.
Attach a file by drag & drop or click to upload