We get such types of warning while doing compilation for x64 environment,
but normally don't face any problem during run-time.

Thanks,
PK


On Tue, Nov 5, 2013 at 6:36 AM, <sa...@zxid.org> wrote:

> On Windows, sockets and filedescriptors are HANDLES which are pointers.
>
> This is all nice and fine on 32bit Windows.
>
> However on 64bit windows int is 32bits and HANDLE is a 64bit pointer,
> leading to following warning:
>
> warning: cast from pointer to integer of different size
> [-Wpointer-to-int-cast]
>      if (!SSL_set_fd(bu->ssl, (int)bu->fd)) {
>
> Is this something to worry about?
>
> The platform is mingw-w64.
>
> Cheers,
> --Sampo
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>

Reply via email to