talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit ec43d63eb0f4f0eefe55c114f7317e50148b83b4
parent a984e6a8825f7c4b70a2a88e24ace4c549e49186
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sat, 16 Nov 2013 17:59:48 +0100

Clean ‘geolocation_plugin.c:260:23: warning: initialization discards 'const' qualifier from pointer target type’

Diffstat:
Msrc/plugins/geolocation/geolocation_plugin.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/geolocation/geolocation_plugin.c b/src/plugins/geolocation/geolocation_plugin.c @@ -257,7 +257,7 @@ static const gchar* get_country_from_ip(const gchar *ip) g_free(uri); if(soup_address_resolve_sync(addr, NULL) == SOUP_STATUS_OK) { - gchar *physical = soup_address_get_physical(addr); + const gchar *physical = soup_address_get_physical(addr); val = g_hash_table_lookup(iso_country_hash, physical); }