Fixed in revision 959. Thanks.

Tim.

On Wed, Apr 06, 2005 at 10:15:15AM -0400, Stas Bekman wrote:
> The svn of DBI has this warning:
> 
> cc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS 
> -DDEBUG_LEAKING_SCALARS -DDEBUGGING -fno-strict-aliasing -pipe 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/include/gdbm -g   -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fpic 
> "-I/home/stas/perl/5.8.6-ithread/lib/5.8.6/i686-linux-thread-multi/CORE" 
> -Wall -Wno-comment Perl.c
> Perl.xsi: In function `XS_DBD__Perl__db_take_imp_data':
> Perl.xsi:374: warning: initialization makes pointer from integer without a 
> cast
> 
> dbd_take_imp_data is supposed to return an SV*:
> 
>     SV *sv = dbd_take_imp_data(h, imp_xxh, NULL);
> 
> but Perl.xs has it defined as:
> 
> #define dbd_take_imp_data(h, imp_xxh, p3) (h=h,imp_xxh=imp_xxh,1)
> 
> -- 
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to