Remove confusing comment on the sdl_data type and do correct casting.