dest is of type byte*, the calculation on the right hand side results in a double, and there is no cast.