Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libnice
libnice
Commits
3b01388d
Commit
3b01388d
authored
May 21, 2007
by
Kai Vehmanen
Browse files
Fixed compiler warnings: proper use of const.
darcs-hash:20070521153502-77cd4-9ba19c606f32af8de37099cbb6935e7a5073d440.gz
parent
717b6968
Changes
1
Hide whitespace changes
Inline
Side-by-side
local/local.c
View file @
3b01388d
...
@@ -76,7 +76,7 @@ nice_list_local_interfaces ()
...
@@ -76,7 +76,7 @@ nice_list_local_interfaces ()
iface
=
g_slice_new0
(
NiceInterface
);
iface
=
g_slice_new0
(
NiceInterface
);
iface
->
name
=
g_strdup
(
i
->
ifa_name
);
iface
->
name
=
g_strdup
(
i
->
ifa_name
);
nice_address_set_from_sockaddr
_in
(
&
(
iface
->
addr
),
addr
);
nice_address_set_from_sockaddr
(
&
(
iface
->
addr
),
(
const
struct
sockaddr
*
)
addr
);
ret
=
g_slist_append
(
ret
,
iface
);
ret
=
g_slist_append
(
ret
,
iface
);
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment