Missing 'const' in cast.