Silence the warning
Return error
Remove casting
Merge pull request #1 from doo/fry-fix-warning

Silence the warning