diff options
author | Mike Gorse <mgorse@suse.com> | 2012-11-26 13:51:28 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2012-11-26 13:51:28 -0600 |
commit | 281a6aa3279769c9eb7123bf8a0ecde04ecb19ab (patch) | |
tree | 733e7c28b11df241f7a0d5308490979ff2883424 /dbind | |
parent | 8846499e0aaae728fb460a8b27f6645dac55e91d (diff) | |
download | at-spi2-core-281a6aa3279769c9eb7123bf8a0ecde04ecb19ab.tar.gz |
Fix atspi_device_listener_new_simple and some other warnings
Diffstat (limited to 'dbind')
-rw-r--r-- | dbind/dbind-any.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbind/dbind-any.c b/dbind/dbind-any.c index 9cae2eba..aa54479a 100644 --- a/dbind/dbind-any.c +++ b/dbind/dbind-any.c @@ -306,7 +306,7 @@ dbind_any_free_r (const char **type, void **data) offset = 0 ; while (**type != DBUS_DICT_ENTRY_END_CHAR) { - char *subt = *type; + const char *subt = *type; offset = ALIGN_VALUE (offset, dbind_find_c_alignment (*type)); *data = PTR_PLUS (data0, offset); dbind_any_free_r (type, data); @@ -424,7 +424,7 @@ dbind_any_marshal (DBusMessageIter *iter, offset = 0 ; while (**type != DBUS_DICT_ENTRY_END_CHAR) { - char *subt = *type; + const char *subt = *type; offset = ALIGN_VALUE (offset, dbind_find_c_alignment (*type)); *data = PTR_PLUS (data0, offset); dbind_any_marshal (&sub, type, data); @@ -626,7 +626,7 @@ dbind_any_demarshal (DBusMessageIter *iter, dbus_message_iter_recurse (iter, &child); while (**type != DBUS_DICT_ENTRY_END_CHAR) { - char *subt = *type; + const char *subt = *type; offset = ALIGN_VALUE (offset, dbind_find_c_alignment (*type)); *data = PTR_PLUS (data0, offset); dbind_any_demarshal (&child, type, data); |