From e1e309c63d1f148c17fdc8825dda2c5b27819feb Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 26 Jun 2000 20:58:52 +0000 Subject: [PATCH] Removed more pointer to integer assignments. --- lib/lwres/lwresutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/lwres/lwresutil.c b/lib/lwres/lwresutil.c index d8a21d4505..d6a4b3f9d7 100644 --- a/lib/lwres/lwresutil.c +++ b/lib/lwres/lwresutil.c @@ -15,7 +15,7 @@ * 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 @@ -171,7 +171,7 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name, b_out.base = NULL; response = NULL; buffer = NULL; - serial = (lwres_uint32_t)name; + serial = ctx->serial++; buffer = CTXMALLOC(LWRES_RECVLENGTH); if (buffer == NULL) { @@ -326,7 +326,7 @@ lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype, b_out.base = NULL; response = NULL; buffer = NULL; - serial = (lwres_uint32_t)addr; + serial = ctx->serial++; buffer = CTXMALLOC(LWRES_RECVLENGTH); if (buffer == NULL) {