hal: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Tue Sep 19 15:49:46 PDT 2006


 hald/linux/addons/addon-macbookpro-backlight.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 6670789d3ca8cbc7c5ea9634f0621664c85e7dbb (from 9277000f05f0462e5d60b14d0edd348d31eddc64)
Author: Kay Sievers <kay.sievers at vrfy.org>
Date:   Tue Sep 19 18:49:44 2006 -0400

    fix casting to avoid compiler error

diff --git a/hald/linux/addons/addon-macbookpro-backlight.c b/hald/linux/addons/addon-macbookpro-backlight.c
index 53dbb90..8870f17 100644
--- a/hald/linux/addons/addon-macbookpro-backlight.c
+++ b/hald/linux/addons/addon-macbookpro-backlight.c
@@ -308,7 +308,7 @@ filter_function (DBusConnection *connect
 							"Error poking hardware");
 			dbus_connection_send (connection, reply, NULL);
 		} else {
-			int **pb = &brightness;
+			int (*pb)[] = &brightness;
 
 			reply = dbus_message_new_method_return (message);
 			if (reply == NULL)


More information about the hal-commit mailing list