Fixed compiler conversion warning.