url.c: Fixed compilation warning

An enumerated type is mixed with another type