soup_uri_to_string() was using the "%d" printf format but it
should use "%u" instead as the port number is a guint in SoupURI.
https://bugzilla.gnome.org/show_bug.cgi?id=647767
} else
append_uri_encoded (str, uri->host, ":/");
if (uri->port && uri->port != soup_scheme_default_port (uri->scheme))
- g_string_append_printf (str, ":%d", uri->port);
+ g_string_append_printf (str, ":%u", uri->port);
if (!uri->path && (uri->query || uri->fragment))
g_string_append_c (str, '/');
}