forked from enlightenment/efl
ecore_con: fix pointers type mismatches
printf() was not happy with a void* being used with the %s format. Since the 'key' values are actually strings and let's declare them as const char* to fully embrace the string semantics.
This commit is contained in:
parent
5929f0311d
commit
2e8d6968fd
|
@ -163,7 +163,7 @@ _efl_net_session_notifier_update_ipv4(Efl_Net_Session_Data *pd, Eldbus_Message_I
|
|||
|
||||
while (eldbus_message_iter_get_and_next(sub, 'e', &entry))
|
||||
{
|
||||
const void *key;
|
||||
const char *key;
|
||||
Eldbus_Message_Iter *value;
|
||||
|
||||
if (!eldbus_message_iter_arguments_get(entry, "sv", &key, &value))
|
||||
|
@ -233,7 +233,7 @@ _efl_net_session_notifier_update_ipv6(Efl_Net_Session_Data *pd, Eldbus_Message_I
|
|||
|
||||
while (eldbus_message_iter_get_and_next(sub, 'e', &entry))
|
||||
{
|
||||
const void *key;
|
||||
const char *key;
|
||||
Eldbus_Message_Iter *value;
|
||||
|
||||
if (!eldbus_message_iter_arguments_get(entry, "sv", &key, &value))
|
||||
|
@ -357,7 +357,7 @@ _efl_net_session_notifier_update(const Eldbus_Service_Interface *service, const
|
|||
|
||||
while (eldbus_message_iter_get_and_next(array, 'e', &entry))
|
||||
{
|
||||
const void *key;
|
||||
const char *key;
|
||||
Eldbus_Message_Iter *var;
|
||||
Eina_Error err;
|
||||
|
||||
|
|
Loading…
Reference in New Issue