freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] freetype compilation warnings


From: Sean McBride
Subject: Re: [ft-devel] freetype compilation warnings
Date: Mon, 11 Jan 2010 11:20:13 -0500

On 1/9/10 6:40 AM, Werner LEMBERG said:

>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?

That did not work. :( The warning only changed to:

warning C4306: 'type cast' : conversion from 'int' to 'void *' of greater size

I could disable the warning I suppose, unless someone has a good idea
how to fix it.

--
____________________________________________________________
Sean McBride, B. Eng                 address@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada






reply via email to

[Prev in Thread] Current Thread [Next in Thread]