avoid warning on type-mismatch
Gurusamy Sarathy [Wed, 1 Mar 2000 01:38:25 +0000 (01:38 +0000)]
p4raw-id: //depot/perl@5383

ext/DynaLoader/dlutils.c

index fc4cd75..9423085 100644 (file)
@@ -45,7 +45,7 @@ dl_unload_all_files(pTHXo_ void *unused)
            PUSHMARK(SP);
            XPUSHs(sv_2mortal(dl_libref));
            PUTBACK;
-           call_sv(sub, G_DISCARD);
+           call_sv((SV*)sub, G_DISCARD);
            FREETMPS;
            LEAVE;
         }