mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 13:22:04 -04:00
compiler warning
This commit is contained in:
parent
c1e4e35ee4
commit
c434887bd5
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: lwresd.c,v 1.33 2001/03/07 22:04:11 gson Exp $ */
|
||||
/* $Id: lwresd.c,v 1.34 2001/03/07 22:07:06 gson Exp $ */
|
||||
|
||||
/*
|
||||
* Main program for the Lightweight Resolver Daemon.
|
||||
|
|
@ -102,7 +102,7 @@ buffer_putstr(isc_buffer_t *b, const char *s) {
|
|||
unsigned int len = strlen(s);
|
||||
if (isc_buffer_availablelength(b) <= len)
|
||||
return (ISC_R_NOSPACE);
|
||||
isc_buffer_putmem(b, s, len);
|
||||
isc_buffer_putmem(b, (const unsigned char *)s, len);
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue