[glib] Don't compare unsigned numbers with 0



commit ba6e66bff1684c0ef0af603f18b0ca53ed7c45fd
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jun 14 16:18:45 2011 -0400

    Don't compare unsigned numbers with 0
    
    It does not work.

 gio/gdbusaddress.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbusaddress.c b/gio/gdbusaddress.c
index f0cb1b6..45d6fd0 100644
--- a/gio/gdbusaddress.c
+++ b/gio/gdbusaddress.c
@@ -580,7 +580,7 @@ g_dbus_address_connect (const gchar   *address_entry,
     {
       const gchar *s;
       const gchar *host;
-      guint port;
+      glong port;
       gchar *endp;
       gboolean is_nonce;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]