2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

Removed more pointer to integer assignments.

This commit is contained in:
Brian Wellington
2000-06-26 20:58:52 +00:00
parent 1dce9a099e
commit e1e309c63d

View File

@@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: lwresutil.c,v 1.17 2000/06/22 21:59:38 tale Exp $ */ /* $Id: lwresutil.c,v 1.18 2000/06/26 20:58:52 bwelling Exp $ */
#include <config.h> #include <config.h>
@@ -171,7 +171,7 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name,
b_out.base = NULL; b_out.base = NULL;
response = NULL; response = NULL;
buffer = NULL; buffer = NULL;
serial = (lwres_uint32_t)name; serial = ctx->serial++;
buffer = CTXMALLOC(LWRES_RECVLENGTH); buffer = CTXMALLOC(LWRES_RECVLENGTH);
if (buffer == NULL) { if (buffer == NULL) {
@@ -326,7 +326,7 @@ lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype,
b_out.base = NULL; b_out.base = NULL;
response = NULL; response = NULL;
buffer = NULL; buffer = NULL;
serial = (lwres_uint32_t)addr; serial = ctx->serial++;
buffer = CTXMALLOC(LWRES_RECVLENGTH); buffer = CTXMALLOC(LWRES_RECVLENGTH);
if (buffer == NULL) { if (buffer == NULL) {