Thread: Re: Cast to time_t in swigutil_rb.c to remove compiler warning
Re: Cast to time_t in swigutil_rb.c to
remove compiler warning
2007-04-23 11:14:32
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