hal: Branch 'master'

Danny Kukawka dkukawka at kemper.freedesktop.org
Fri Mar 14 05:27:12 PDT 2008


 hald/device.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 38ad04e7c72a1bd4837583b64fafe1ee0a3d2b7b
Author: Danny Kukawka <danny.kukawka at web.de>
Date:   Fri Mar 14 13:26:53 2008 +0100

    fixed compiler warning for 64bit related to usage of GQuark
    
    Fixed compiler warning for 64bit related to usage of cast to GQuark.

diff --git a/hald/device.c b/hald/device.c
index 1b26113..72c66f4 100644
--- a/hald/device.c
+++ b/hald/device.c
@@ -871,7 +871,7 @@ hdpfe (gpointer key,
 {
 	hdpfe_ud_t *c;
 	HalProperty *prop;
-	const gchar *key_string = g_quark_to_string ((GQuark) key);
+	const gchar *key_string = g_quark_to_string ((GQuark) GPOINTER_TO_UINT(key));
 
 	c = (hdpfe_ud_t *) user_data;
 	prop = (HalProperty *) value;


More information about the hal-commit mailing list