Remove an unnecessary cast. Get's rid of this compile warning: