[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-04-23 18:14:32 CEST

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

  • application/pgp-signature attachment: stored
Received on Mon Apr 23 18:15:10 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.