network: Fix compile-time warning
gnome-network-properties.c:667:22: warning: pointer of type ‘void *’ used in arithmetic gnome-network-properties.c:667:46: warning: pointer of type ‘void *’ used in arithmetic
This commit is contained in:
parent
d863154fcb
commit
892e513996
1 changed files with 1 additions and 1 deletions
|
@ -664,7 +664,7 @@ update_locations (GConfClient *client,
|
|||
{
|
||||
gchar *locp, *key_name;
|
||||
|
||||
locp = iter->data + strlen (LOCATION_DIR) + 1;
|
||||
locp = (char *) (iter->data) + strlen (LOCATION_DIR) + 1;
|
||||
key_name = gconf_unescape_key (locp, -1);
|
||||
|
||||
gtk_list_store_append (store, &titer);
|
||||
|
|
Loading…
Add table
Reference in a new issue