Fix one last breakage of strict-aliasing rules
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 00:54:17 +0000 (02:54 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Jul 2009 00:54:17 +0000 (02:54 +0200)
src/element.c

index 433f64b..bdf222c 100644 (file)
@@ -774,7 +774,7 @@ static gboolean get_static_array_property(struct connman_element *element,
 
        property = g_hash_table_lookup(element->properties, name);
        if (property != NULL) {
-               *((char **) value) = property->value;
+               *((void **) value) = property->value;
                *len = property->size;
                found = TRUE;
        }