publish-calendar: Correct type of a 'port' variable to match GUri's port type

GUri uses -1 for 'port not set', but storing such value into an unsigned
variable makes the -1 an out of bounds value.
This commit is contained in:
Milan Crha
2022-09-29 10:27:14 +02:00
parent 48ef5fbea3
commit 44c2192a4e

View File

@ -305,7 +305,7 @@ set_from_uri (UrlEditorDialog *dialog)
const gchar *user;
const gchar *host;
const gchar *path;
guint port;
gint port;
uri = dialog->uri;