summaryrefslogtreecommitdiff
path: root/ui/recent.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/recent.c')
-rw-r--r--ui/recent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/recent.c b/ui/recent.c
index 4ea4bb1600..b95ee65eb6 100644
--- a/ui/recent.c
+++ b/ui/recent.c
@@ -489,7 +489,7 @@ capture_remote_combo_add_recent(const gchar *s)
if (valp) {
/* Found value 3, this is the authentication type */
- auth_type = strtol(valp->data, &p, 0);
+ auth_type = (gint)strtol(valp->data, &p, 0);
if (p != valp->data && *p == '\0') {
rh->auth_type = auth_type;
}