INN commit: branches/2.5 (innfeed/imap_connection.c nnrpd/sasl.c)

INN Commit rra at isc.org
Sun Nov 15 09:22:34 UTC 2009


    Date: Sunday, November 15, 2009 @ 01:22:34
  Author: iulius
Revision: 8771

Fix two gcc warnings caused by (size_t *) and (unsigned int *)
casts.

Modified:
  branches/2.5/innfeed/imap_connection.c
  branches/2.5/nnrpd/sasl.c

---------------------------+
 innfeed/imap_connection.c |    2 +-
 nnrpd/sasl.c              |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: innfeed/imap_connection.c
===================================================================
--- innfeed/imap_connection.c	2009-11-15 09:22:25 UTC (rev 8770)
+++ innfeed/imap_connection.c	2009-11-15 09:22:34 UTC (rev 8771)
@@ -3382,7 +3382,7 @@
 						inlen,
 						&client_interact,
 						&out,
-						&outlen);
+						(unsigned *) &outlen);
 
 		    free(in);
 

Modified: nnrpd/sasl.c
===================================================================
--- nnrpd/sasl.c	2009-11-15 09:22:25 UTC (rev 8770)
+++ nnrpd/sasl.c	2009-11-15 09:22:34 UTC (rev 8771)
@@ -210,7 +210,7 @@
 
 	/* Get the response from the client. */
 	r1 = line_read(&NNTPline, PERMaccessconf->clienttimeout,
-		      &clientin, &clientinlen, NULL);
+		      &clientin, (size_t *) &clientinlen, NULL);
         
         switch (r1) {
 	case RTok:




More information about the inn-committers mailing list