diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2018-09-17 15:25:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-17 15:25:49 -0400 |
| commit | e8275c22b4c5dd5a6ff4a66befb61646e787ed0c (patch) | |
| tree | 674f9838e01f5eeb0be16963ae2a156f40f7ab12 /ldpd/interface.c | |
| parent | b4657ea44c7853047fa21585defd06b4b2e52752 (diff) | |
| parent | 36de6e0e1ea886edd0ff7f706a5e8fc81ca9d1e6 (diff) | |
Merge pull request #3040 from pacovn/static_analysis__drop_const_1
bgpd isisd ldpd lib: const drop fixes (SA)
Diffstat (limited to 'ldpd/interface.c')
| -rw-r--r-- | ldpd/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/interface.c b/ldpd/interface.c index b25be43a5c..8b45703d22 100644 --- a/ldpd/interface.c +++ b/ldpd/interface.c @@ -45,7 +45,7 @@ RB_GENERATE(iface_head, iface, entry, iface_compare) static __inline int iface_compare(const struct iface *a, const struct iface *b) { - return (if_cmp_name_func((char *)a->name, (char *)b->name)); + return if_cmp_name_func(a->name, b->name); } struct iface * |
