]> granicus.if.org Git - curl/commit
addrinfo: fix compiler warning on offsetof() use
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jan 2017 22:58:22 +0000 (23:58 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jan 2017 23:00:07 +0000 (00:00 +0100)
commit6e12bb7cbeda99be8a9c2aace18180784b6b7e26
tree01a7ebefc550127a0d641afc0b8955562cdacbd0
parentd24c4ea2d0d49167dda4b6afb2df47bae77068a8
addrinfo: fix compiler warning on offsetof() use

curl_addrinfo.c:519:20: error: conversion to ‘curl_socklen_t {aka
unsigned int}’ from ‘long unsigned int’ may alter its value
[-Werror=conversion]

Follow-up to 1d786faee1046f
lib/curl_addrinfo.c