[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] "comp" is reserved word in Apple SC compiler?
From: |
George Williams |
Subject: |
Re: [ft-devel] "comp" is reserved word in Apple SC compiler? |
Date: |
27 Oct 2005 21:36:52 -0700 |
On Thu, 2005-10-27 at 21:11, address@hidden wrote:
> However, a few explicit typecasts are needed in ftmac.c
> like this. I think it's acceptable.
>
> --- orig/src/base/ftmac.c
> +++ mod/src/base/ftmac.c
> @@ -838,8 +838,8 @@
> OSStatus status = FMCreateFontFamilyIterator( NULL, NULL,
> options,
> &famIter );
> - FMFont the_font = NULL;
> - FMFontFamily family = NULL;
> + FMFont the_font = ( FMFont ) NULL;
> + FMFontFamily family = ( FMFontFamily ) NULL;
Looks like a bug in either their compiler or header files. Explicit
casts of NULL should not be required.