Updated part of cpputest that failed with a warning by adding a good old
hard cast.