diff options
-rw-r--r-- | ui/qt/remote_capture_dialog.cpp | 2 | ||||
-rw-r--r-- | ui/recent.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/ui/qt/remote_capture_dialog.cpp b/ui/qt/remote_capture_dialog.cpp index a4b65fd6c3..81cd455183 100644 --- a/ui/qt/remote_capture_dialog.cpp +++ b/ui/qt/remote_capture_dialog.cpp @@ -38,8 +38,6 @@ #include <QMessageBox> -static guint num_selected = 0; - RemoteCaptureDialog::RemoteCaptureDialog(QWidget *parent) : QDialog(parent), ui(new Ui::RemoteCaptureDialog) 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; } |