[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [patch] Cast to time_t in swigutil_rb.c to remove compiler warning

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2007-04-23 23:04:09 CEST

On 4/23/07, Daniel Rall <dlr@collab.net> wrote:
> On Sun, 22 Apr 2007, Joe Swatosh wrote:
>
> > I'm trying to reduce the noise when building the Ruby bindings. So I
> > don't get too used to so many warnings.
> >
> > [[[
> > Deal with compiler warning for narrowing conversion
> >
> > * subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
> > (svn_swig_rb_svn_date_string_to_time): Cast the seconds and microseconds
> > pieces of apr_time_t to time_t before sending to rb_time_new
> > ]]]
>
> +1
>
>

r24728

Thanks,

--
Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 23 23:04:21 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.