> There are still some warnings from the VTK nightly builds:
> <http://www.cdash.org/CDash/buildSummary.php?buildid=510736>
> (search for "freetype")

Thanks.

> I believe this is due to:
>
> #define ALL_POINTS  (FT_UShort*)( -1 )
>
> To me, it seems dangerous to have a pointer type that is not a
> pointer.  Other than "don't do that", I'm not sure what to suggest
> to workaround this warning.  Ideas?  This might work:
>
> #define ALL_POINTS  (FT_UShort*)( INTPTR_MAX )
>
> But that requires C99.

We don't expect C99.

What about a double cast?

  #define ALL_POINTS  (FT_UShort*)(void*)( -1 )

Since NULL is normally defined as `(void*)0' I can imagine that the
above works.  Can you try this, please?


    Werner


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to