use unsigned char, not void * in our buffers

This commit is contained in:
Michael Graff
2000-01-20 00:11:52 +00:00
parent f497ab709d
commit 6448ffb2b9
6 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
SUBDIRS = named tests
SUBDIRS = named lwresd tests
TARGETS =
@BIND9_MAKE_RULES@
Vendored
+3 -1
View File
@@ -1,6 +1,6 @@
#! /bin/sh
# From configure.in Revision: 1.73
# From configure.in Revision: 1.74
@@ -3415,6 +3415,7 @@ trap 'rm -fr `echo "make/rules
bin/Makefile
bin/named/Makefile
bin/named/unix/Makefile
bin/lwresd/Makefile
bin/tests/Makefile
bin/tests/names/Makefile
bin/tests/master/Makefile
@@ -3607,6 +3608,7 @@ CONFIG_FILES=\${CONFIG_FILES-"make/rules
bin/Makefile
bin/named/Makefile
bin/named/unix/Makefile
bin/lwresd/Makefile
bin/tests/Makefile
bin/tests/names/Makefile
bin/tests/master/Makefile
+2 -1
View File
@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.74 $)
AC_REVISION($Revision: 1.75 $)
AC_PREREQ(2.13)
@@ -586,6 +586,7 @@ AC_OUTPUT(
bin/Makefile
bin/named/Makefile
bin/named/unix/Makefile
bin/lwresd/Makefile
bin/tests/Makefile
bin/tests/names/Makefile
bin/tests/master/Makefile
-4
View File
@@ -39,10 +39,6 @@ static void *lwres_malloc(void *, size_t);
static void lwres_free(void *, void *, size_t);
static int context_connect(lwres_context_t *);
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001UL
#endif
int
lwres_context_create(lwres_context_t **contextp, void *arg,
lwres_malloc_t malloc_function,
+1 -1
View File
@@ -142,7 +142,7 @@ ISC_LANG_BEGINDECLS
typedef struct lwres_buffer lwres_buffer_t;
struct lwres_buffer {
unsigned int magic;
void *base;
unsigned char *base;
/* The following integers are byte offsets from 'base'. */
unsigned int length;
unsigned int used;
+7
View File
@@ -89,6 +89,13 @@
#define LWRES_UDP_PORT 921 /* XXXMLG */
#define LWRES_RECVLENGTH 2048 /* XXXMLG */
/*
* XXXMLG
*/
#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK 0x7f000001UL
#endif
/*
* NO-OP
*/