Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 12:22:08 -0800 (PST)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 23295 for review
Message-ID:  <200301062022.h06KM8ML097268@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=23295

Change 23295 by peter@peter_itanic2 on 2003/01/06 12:21:49

	fix warnings (indistinguishable from real problems)

Affected files ...

.. //depot/projects/ia64/contrib/bind/lib/isc/ctl_clnt.c#3 edit
.. //depot/projects/ia64/contrib/bind/lib/isc/ctl_srvr.c#3 edit

Differences ...

==== //depot/projects/ia64/contrib/bind/lib/isc/ctl_clnt.c#3 (text+ko) ====

@@ -185,7 +185,7 @@
 	if (evConnect(lev, ctx->sock, (const struct sockaddr *)sap, sap_len,
 		      conn_done, ctx, &ctx->coID) < 0) {
 		(*ctx->logger)(ctl_error, "%s: evConnect(fd %d): %s",
-			       me, (void *)ctx->sock, strerror(errno));
+			       me, (void *)(uintptr_t)ctx->sock, strerror(errno));
  fatal:
 		if (ctx != NULL) {
 			if (ctx->sock >= 0)

==== //depot/projects/ia64/contrib/bind/lib/isc/ctl_srvr.c#3 (text+ko) ====

@@ -252,7 +252,7 @@
 		     &ctx->acID) < 0) {
 		save_errno = errno;
 		(*ctx->logger)(ctl_error, "%s: evListen(fd %d): %s",
-			       me, (void *)ctx->sock, strerror(errno));
+			       me, (void *)(uintptr_t)ctx->sock, strerror(errno));
 		close(ctx->sock);
 		memput(ctx, sizeof *ctx);
 		errno = save_errno;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301062022.h06KM8ML097268>