Fix warnings about type mismatches. These should still work fine with -1 values being returned from utarray_eltidx