[Bioperl-guts-l] [14476] bioperl-ext/trunk/Bio/SeqIO/staden/read.xs: Add cast to correct pointer type (get rid of warnings)

Christopher John Fields cjfields at dev.open-bio.org
Mon Feb 4 14:49:27 EST 2008


Revision: 14476
Author:   cjfields
Date:     2008-02-04 14:49:26 -0500 (Mon, 04 Feb 2008)

Log Message:
-----------
Add cast to correct pointer type (get rid of warnings)

Modified Paths:
--------------
    bioperl-ext/trunk/Bio/SeqIO/staden/read.xs

Modified: bioperl-ext/trunk/Bio/SeqIO/staden/read.xs
===================================================================
--- bioperl-ext/trunk/Bio/SeqIO/staden/read.xs	2008-02-04 18:49:38 UTC (rev 14475)
+++ bioperl-ext/trunk/Bio/SeqIO/staden/read.xs	2008-02-04 19:49:26 UTC (rev 14476)
@@ -197,10 +197,10 @@
               av_push(baseLocs, baseLoc);
       }
 
-      aRef = newRV_inc(aTrace);
-      cRef = newRV_inc(cTrace);
-      gRef = newRV_inc(gTrace);
-      tRef = newRV_inc(tTrace);
+      aRef = newRV_inc((SV *) aTrace);
+      cRef = newRV_inc((SV *) cTrace);
+      gRef = newRV_inc((SV *) gTrace);
+      tRef = newRV_inc((SV *) tTrace);
       baseRef = newRV_inc(baseLocs);
       
       sp = mark;




More information about the Bioperl-guts-l mailing list