Cast callback function to avoid compile warnings.
>From 6f95f69e0d5bfb72619c3ef2120ed726eefa0877 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <[EMAIL PROTECTED]>
Date: Thu, 13 Mar 2008 00:34:40 +0100
Subject: [PATCH 6/8] Cast callback function to avoid compile warnings

Cast callback function to avoid compile warnings.
---
 src/lib/nm/e_nm_private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/nm/e_nm_private.h b/src/lib/nm/e_nm_private.h
index 3ecfd50..b7970c9 100644
--- a/src/lib/nm/e_nm_private.h
+++ b/src/lib/nm/e_nm_private.h
@@ -16,7 +16,7 @@
 
 #define e_nm_network_call_new(member) dbus_message_new_method_call(E_NM_SERVICE, E_NM_PATH_NETWORK_MANAGER, E_NM_INTERFACE_NETWORK_MANAGER, member)
 
-#define e_nm_device_properties_get(con, dev, prop, cb, data) e_dbus_properties_get(con, E_NM_SERVICE, dev, E_NM_INTERFACE_DEVICE, prop, cb, data)
+#define e_nm_device_properties_get(con, dev, prop, cb, data) e_dbus_properties_get(con, E_NM_SERVICE, dev, E_NM_INTERFACE_DEVICE, prop, (E_DBus_Method_Return_Cb) cb, data)
 
 struct E_NM_Context
 {
-- 
1.5.4.3

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to