silence compiler warning about integer comparison