Explicit type conversion for fread result