The gcc compiler requires this cast.