mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-04 00:25:29 +00:00
pointer arithmetic on void pointers is illegal
This commit is contained in:
@@ -261,7 +261,7 @@ add_alias(client_t *client)
|
|||||||
/*
|
/*
|
||||||
* Save this name away as the current real name.
|
* Save this name away as the current real name.
|
||||||
*/
|
*/
|
||||||
client->gabn.realname = b.base + b.used;
|
client->gabn.realname = (char *) b.base + b.used;
|
||||||
client->gabn.realnamelen = client->recv_buffer.used - b.used;
|
client->gabn.realnamelen = client->recv_buffer.used - b.used;
|
||||||
|
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
@@ -286,7 +286,7 @@ store_realname(client_t *client)
|
|||||||
/*
|
/*
|
||||||
* Save this name away as the current real name.
|
* Save this name away as the current real name.
|
||||||
*/
|
*/
|
||||||
client->gabn.realname = b.base + b.used;
|
client->gabn.realname = (char *) b.base + b.used;
|
||||||
client->gabn.realnamelen = client->recv_buffer.used - b.used;
|
client->gabn.realnamelen = client->recv_buffer.used - b.used;
|
||||||
|
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
|
Reference in New Issue
Block a user