Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
cfd2cbd1
Commit
cfd2cbd1
authored
Feb 06, 2012
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cast to rta_getattr_str
Warning from C++
parent
a3fd8e58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/libnetlink.h
include/libnetlink.h
+1
-1
No files found.
include/libnetlink.h
View file @
cfd2cbd1
...
...
@@ -87,7 +87,7 @@ static inline __u64 rta_getattr_u64(const struct rtattr *rta)
}
static
inline
const
char
*
rta_getattr_str
(
const
struct
rtattr
*
rta
)
{
return
RTA_DATA
(
rta
);
return
(
const
char
*
)
RTA_DATA
(
rta
);
}
extern
int
rtnl_listen
(
struct
rtnl_handle
*
,
rtnl_filter_t
handler
,
...
...
Write
Preview
Markdown
is supported
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