pointer arithmetic on void pointers is illegal

This commit is contained in:
Andreas Gustafsson 2000-01-27 23:53:40 +00:00
parent 6d39d25c55
commit 3bf3bd6f7f

View file

@ -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);