Matthias, I read your commit message, but reply here because here
is more context ...

On 18.03.2010, at 23:15, manolo gouy wrote:

> I would suggest something like this to replace sscanf() with %p:
>
> if (sizeof(void *) == sizeof(long long) )
>    sscanf(buf, "@%llx",&ret);
> else if (sizeof(void *) == sizeof(long) )
>    sscanf(buf, "@%lx",&ret);
> else
>    sscanf(buf, "@%x",&ret);

Do we require long long to be available on each platform?

The first part should probably be in

#ifdef HAVE_LONG_LONG
  ...
#endif /* HAVE_LONG_LONG */

as it is in src/vsnprintf.c.

BTW: I can't test with my older Cygwin/MinGW setup before Monday, but
I hope that Manolo can do.

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to