Skip to content
Snippets Groups Projects
Commit 90699444 authored by Harout Hedeshian's avatar Harout Hedeshian
Browse files

sockev: change addrlen from int to socklen_t

Fix compilation warnings since socklen_t is unsigned. No functional
changes in this patch.

Change-Id: Ied68433fb966bc338b1fc0c3171c4443b809344f
parent 67be864a
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,8 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
int main(void)
{
int skfd, addrlen, rc;
int skfd, rc;
socklen_t addrlen;
struct sockaddr_nl my_addr, src_addr;
struct nlmsghdr *nlh = NULL;
struct sknlsockevmsg *msg;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment