Commit f6ce019f authored by Luca Boccassi's avatar Luca Boccassi

Problem: incompatible parameter passed to send_zap_request

Solution: cast from void* to uint8_t* to match new definition
parent 7c85bf2f
...@@ -158,7 +158,8 @@ void zmq::gssapi_server_t::send_zap_request () ...@@ -158,7 +158,8 @@ void zmq::gssapi_server_t::send_zap_request ()
{ {
gss_buffer_desc principal; gss_buffer_desc principal;
gss_display_name (&min_stat, target_name, &principal, NULL); gss_display_name (&min_stat, target_name, &principal, NULL);
zap_client_t::send_zap_request ("GSSAPI", 6, principal.value, zap_client_t::send_zap_request ("GSSAPI", 6,
reinterpret_cast<const uint8_t *> (principal.value),
principal.length); principal.length);
gss_release_buffer (&min_stat, &principal); gss_release_buffer (&min_stat, &principal);
......
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