Correct compiler warning