Fixed datatype conversion warning.