forked from enlightenment/efl
edbus: Fix wrong pointer passed to edbus_message_iter_arguments_get
We were expected to pass an int pointer, but instead we were passing a char, which leads to a crash in complex_type_server. Patch by: José Roberto de Souza <zehortigoza@profusion.mobi> SVN revision: 78623
This commit is contained in:
parent
b312303137
commit
f94520c1fa
|
@ -48,7 +48,7 @@ _receive_array_of_string_int_with_size(const EDBus_Service_Interface *iface, con
|
||||||
while (edbus_message_iter_get_and_next(array, 'r', &struct_si))
|
while (edbus_message_iter_get_and_next(array, 'r', &struct_si))
|
||||||
{
|
{
|
||||||
char *txt;
|
char *txt;
|
||||||
char num;
|
int num;
|
||||||
|
|
||||||
if (!edbus_message_iter_arguments_get(struct_si, "si", &txt, &num))
|
if (!edbus_message_iter_arguments_get(struct_si, "si", &txt, &num))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue