Corrected a compiler warning