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:
Jean Guyomarc'h 2016-11-12 10:35:17 +01:00
parent 5929f0311d
commit 2e8d6968fd
No known key found for this signature in database
GPG Key ID: 9BFD70B4662DC58C
1 changed files with 3 additions and 3 deletions

View File

@ -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;