diff options
| author | Gunter Knauf <gk@gknw.de> | 2009-08-29 04:12:51 +0000 | 
|---|---|---|
| committer | Gunter Knauf <gk@gknw.de> | 2009-08-29 04:12:51 +0000 | 
| commit | 39704bec3c2d8c9542d42bc22e539ad0615aeb84 (patch) | |
| tree | 3991842a2b3edb4c323793b43988cf1ef39fdc8a /lib | |
| parent | fad14bca01d7a3db629a86fd8af879e89781e065 (diff) | |
add cast to silent compiler warning with 64bit systems.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/connect.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 7865216bd..2a6b003e0 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -277,7 +277,7 @@ static CURLcode bindlocal(struct connectdata *conn,         * hostname or ip address.         */        if(setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, -                    dev, strlen(dev)+1) != 0) { +                    dev, (curl_socklen_t)strlen(dev)+1) != 0) {          error = SOCKERRNO;          infof(data, "SO_BINDTODEVICE %s failed with errno %d: %s;"                " will do regular bind\n",  | 
