mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Problem: incompatible parameter passed to send_zap_request
Solution: cast from void* to uint8_t* to match new definition
This commit is contained in:
parent
7c85bf2f88
commit
f6ce019fff
@ -158,7 +158,8 @@ void zmq::gssapi_server_t::send_zap_request ()
|
||||
{
|
||||
gss_buffer_desc principal;
|
||||
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);
|
||||
|
||||
gss_release_buffer (&min_stat, &principal);
|
||||
|
Loading…
x
Reference in New Issue
Block a user