Commit e22b7acb authored by Gernot Tenchio's avatar Gernot Tenchio

websockets: remove warning on 64bit platforms

parent 099e5c82
......@@ -60,7 +60,7 @@ static int rfbssl_init_session(struct rfbssl_ctx *ctx, int fd)
/* */
} else {
gnutls_session_enable_compatibility_mode(session);
gnutls_transport_set_ptr(session, (gnutls_transport_ptr_t)fd);
gnutls_transport_set_ptr(session, (gnutls_transport_ptr_t)(uintptr_t)fd);
ctx->session = session;
}
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment