2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

silenced compiler warning

This commit is contained in:
Andreas Gustafsson
1999-10-30 01:37:55 +00:00
parent 9af545a6bd
commit 297d85a324

View File

@@ -138,9 +138,9 @@ isc_sockaddr_totext(const isc_sockaddr_t *sockaddr, isc_buffer_t *target) {
if (alen + 1 + plen + 1 > avail.length)
return (ISC_R_NOSPACE);
isc_buffer_putmem(target, abuf, alen);
isc_buffer_putmem(target, (unsigned char *) abuf, alen);
isc_buffer_putmem(target, "#", 1);
isc_buffer_putmem(target, pbuf, plen);
isc_buffer_putmem(target, (unsigned char *) pbuf, plen);
/* Null terminate after used region. */
isc_buffer_available(target, &avail);