Silence a couple of warnings caused by change #30672.
Steve Peters [Wed, 21 Mar 2007 23:21:46 +0000 (23:21 +0000)]
p4raw-link: @30672 on //depot/perl: c94db568e030a227855e08f584b1bff860be0cf5

p4raw-id: //depot/perl@30675

doio.c

diff --git a/doio.c b/doio.c
index 1f1d2a2..e1acc67 100644 (file)
--- a/doio.c
+++ b/doio.c
@@ -1832,7 +1832,8 @@ nothing in the core.
                    if (GvIO(gv) && IoIFP(GvIOp(gv))) {
 #ifdef HAS_FUTIMES
                        APPLY_TAINT_PROPER();
-                       if (futimes(PerlIO_fileno(IoIFP(GvIOn(gv))), utbufp))
+                       if (futimes(PerlIO_fileno(IoIFP(GvIOn(gv))),
+                            (struct timeval *) utbufp))
                            tot--;
 #else
                        Perl_die(aTHX_ PL_no_func, "futimes");
@@ -1850,7 +1851,7 @@ nothing in the core.
                    const char * const name = SvPV_nolen_const(*mark);
                    APPLY_TAINT_PROPER();
 #ifdef HAS_FUTIMES
-                   if (utimes(name, utbufp))
+                   if (utimes(name, (struct timeval *)utbufp))
 #else
                    if (PerlLIO_utime(name, utbufp))
 #endif