quiets warnings on numeric comparisons

bug 1118