[vinagre] Trivial const-correctness fix
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre] Trivial const-correctness fix
- Date: Wed, 20 May 2015 15:37:53 +0000 (UTC)
commit 1143aa95001a5ff4bbc1202610704fe0fb2804dc
Author: David King <amigadave amigadave com>
Date: Wed May 20 16:37:25 2015 +0100
Trivial const-correctness fix
Found with the Clang static analyzer.
vinagre/vinagre-connect.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vinagre/vinagre-connect.c b/vinagre/vinagre-connect.c
index f881f94..3c59369 100644
--- a/vinagre/vinagre-connect.c
+++ b/vinagre/vinagre-connect.c
@@ -372,7 +372,7 @@ vinagre_connect_find_button_cb (GtkButton *button,
if (gtk_dialog_run(GTK_DIALOG(d)) == GTK_RESPONSE_ACCEPT)
{
gchar *tmp;
- AvahiAddress *address;
+ const AvahiAddress *address;
char a[AVAHI_ADDRESS_STR_MAX];
address = aui_service_dialog_get_address (AUI_SERVICE_DIALOG (d));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]