Update uri.hpp

Suppress warning: comparison between signed and unsigned integer expressions