url: Fix compiler warning

signed and unsigned type in conditional expression