Hi,

I have a small patch for if_gre.c...

NULL is already defined as ((void *)0), so we don't
need to cast it to void*.

No binary change on amd64.
Does this look OK?

- Michael


Index: if_gre.c
===================================================================
RCS file: /cvs/src/sys/net/if_gre.c,v
retrieving revision 1.59
diff -u -r1.59 if_gre.c
--- if_gre.c    23 Nov 2012 20:12:03 -0000      1.59
+++ if_gre.c    13 Dec 2012 04:09:38 -0000
@@ -431,7 +431,7 @@
 #endif
 
        /* Send it off */
-       error = ip_output(m, (void *)NULL, &sc->route, 0, (void *)NULL, (void 
*)NULL);
+       error = ip_output(m, NULL, &sc->route, 0, NULL, NULL);
   end:
        if (error)
                ifp->if_oerrors++;

Reply via email to