2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 22:45:39 +00:00

literal strings are type char, not unsigned char

This commit is contained in:
David Lawrence
2000-08-02 20:44:31 +00:00
parent 385a9cb48a
commit 03a89d7938

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: server.c,v 1.208 2000/08/02 18:13:06 bwelling Exp $ */ /* $Id: server.c,v 1.209 2000/08/02 20:44:31 tale Exp $ */
#include <config.h> #include <config.h>
@@ -847,21 +847,20 @@ create_authors_zone(dns_zonemgr_t *zmgr, dns_view_t *view) {
isc_region_t r; isc_region_t r;
isc_constregion_t cr; isc_constregion_t cr;
dns_rdata_t rdata; dns_rdata_t rdata;
static unsigned char origindata[] = "\007authors\004bind"; static char origindata[] = "\007authors\004bind";
dns_name_t origin; dns_name_t origin;
int i; int i;
static const unsigned char *authors[] = static char *authors[] = {
{ "\014Mark Andrews",
"\014Mark Andrews", "\015James Brister",
"\015James Brister", "\015Michael Graff",
"\015Michael Graff", "\022Andreas Gustafsson",
"\022Andreas Gustafsson", "\012Bob Halley",
"\012Bob Halley", "\016David Lawrence",
"\016David Lawrence", "\016Michael Sawyer",
"\016Michael Sawyer", "\020Brian Wellington",
"\020Brian Wellington", NULL,
NULL, };
};
dns_diff_init(ns_g_mctx, &diff); dns_diff_init(ns_g_mctx, &diff);