Fixed compiling warning.