INN commit: branches/2.5/nnrpd (tls.c)

INN Commit rra at isc.org
Sat Jan 10 14:25:18 UTC 2015


    Date: Saturday, January 10, 2015 @ 06:25:18
  Author: iulius
Revision: 9785

Add a cast to fix a gcc warning

Modified:
  branches/2.5/nnrpd/tls.c

-------+
 tls.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: tls.c
===================================================================
--- tls.c	2015-01-10 14:24:36 UTC (rev 9784)
+++ tls.c	2015-01-10 14:25:18 UTC (rev 9785)
@@ -439,7 +439,7 @@
     nitems = EC_get_builtin_curves(builtin_curves, ncurves);
     if (nitems != ncurves) {
         syslog(L_ERROR, "got %lu curves from EC_get_builtin_curves, "
-               "expected %lu", nitems, ncurves);
+               "expected %lu", (unsigned long) nitems, (unsigned long) ncurves);
     }
     for (i = 0; i < nitems; i++) {
         sname = OBJ_nid2sn(builtin_curves[i].nid);



More information about the inn-committers mailing list