Paul Eggert <address@hidden> wrote:
> Jim Meyering <address@hidden> writes:
>
>> +#define TMP (char *) "/tmp"
>> ...
>
> How about the following change to mktemp.c instead? It's simpler, and
> avoids the need for the macro and the cast.
>
> 2008-10-16 Paul Eggert <address@hidden>
>
> * src/mktemp.c (main): Add 'const' twice to avoid GCC warning.
Ahh... much better. no-casts is always better.
Thanks!
I've just pushed that.