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

INN Commit rra at isc.org
Wed Oct 28 16:28:16 UTC 2009


    Date: Wednesday, October 28, 2009 @ 09:28:15
  Author: iulius
Revision: 8695

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

Modified:
  trunk/innfeed/imap_connection.c
  trunk/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-10-25 15:41:00 UTC (rev 8694)
+++ innfeed/imap_connection.c	2009-10-28 16:28:15 UTC (rev 8695)
@@ -3382,7 +3382,7 @@
 						inlen,
 						&client_interact,
 						&out,
-						&outlen);
+						(unsigned *) &outlen);
 
 		    free(in);
 

Modified: nnrpd/sasl.c
===================================================================
--- nnrpd/sasl.c	2009-10-25 15:41:00 UTC (rev 8694)
+++ nnrpd/sasl.c	2009-10-28 16:28:15 UTC (rev 8695)
@@ -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