Bruno Haible wrote:
...
> Here's a proposed fix. Jim, is that OK to apply (I guess Paul does not
> have time to read this any more)?
>
>
> 2009-08-08  Bruno Haible  <br...@clisp.org>
>
>       Avoid compilation error in C++ mode.
>       * lib/gettimeofday.c (rpl_gettimeofday): Cast timezone argument.
...
>
> -  int result = gettimeofday (tv, tz);
> +  int result = gettimeofday (tv, (struct timezone *) tz);

While I don't like adding casts, in this case,
(accommodating C++) there is no alternative.
So your change is fine.  Thanks!


Reply via email to