avoid LLVM warning: skip ternary operator when value is unsigned (-Wtautological-compare).
Merge pull request #328 from samrushing/master

avoid LLVM warning: skip ternary operator when value is unsigned