mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-23 10:54:16 -04:00
pointer arithmetic on void pointers is illegal
This commit is contained in:
parent
6d39d25c55
commit
3bf3bd6f7f
1 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ add_alias(client_t *client)
|
|||
/*
|
||||
* 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;
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
|
|
@ -286,7 +286,7 @@ store_realname(client_t *client)
|
|||
/*
|
||||
* 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;
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue