[ekiga] Fixed a warning by initializing an unsigned to 0 instead of NULL (!)



commit 26a831c0f4bd1f0608cae1990c9ae7c5c589b7d3
Author: Snark <jpuydt gnome org>
Date:   Thu Mar 24 11:42:34 2011 +0100

    Fixed a warning by initializing an unsigned to 0 instead of NULL (!)

 .../components/hal-dbus/hal-manager-dbus.cpp       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/hal-dbus/hal-manager-dbus.cpp b/lib/engine/components/hal-dbus/hal-manager-dbus.cpp
index a7283ed..9d8a733 100644
--- a/lib/engine/components/hal-dbus/hal-manager-dbus.cpp
+++ b/lib/engine/components/hal-dbus/hal-manager-dbus.cpp
@@ -362,7 +362,7 @@ void HalManager_dbus::get_interface_name_ip (const char * interface, NmInterface
   DBusGProxy * interface_proxy = NULL;
   GError *error = NULL;
   gchar* c_value = NULL;
-  unsigned address = NULL;
+  unsigned address = 0;
   gboolean active = FALSE;
 
   interface_proxy = dbus_g_proxy_new_for_name (bus, "org.freedesktop.NetworkManager",



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