Eliminate integer sign comparison warning