[vinagre] Trivial const-correctness fix



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]