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:
José Roberto de Souza 2012-10-29 22:02:32 +00:00 committed by Lucas De Marchi
parent b312303137
commit f94520c1fa
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{
char *txt;
char num;
int num;
if (!edbus_message_iter_arguments_get(struct_si, "si", &txt, &num))
{