projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca59813
)
Fix one last breakage of strict-aliasing rules
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Jul 2009 00:54:17 +0000
(
02:54
+0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Jul 2009 00:54:17 +0000
(
02:54
+0200)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
433f64b
..
bdf222c
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-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;
}