freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] compilation warning in CVS-distribution


From: Francesco Zappa Nardelli
Subject: Re: [Devel] compilation warning in CVS-distribution
Date: 16 Jan 2001 14:45:58 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.3

Here follows a simple patch to be applied to pcfread.c (in
freetype2/src/pcf).  

-francesco

$ diff pcfread_old.c pcfread.c

437c437
<       error = ALLOC( properties[i].name, 
---
>       if ( ALLOC( properties[i].name, 
439,440c439
<                        sizeof ( char ) );
<       if ( error )
---
>                        sizeof ( char ) ) )
448c447
<         error = ALLOC( properties[i].value.atom, 
---
>         if ( ALLOC( properties[i].value.atom, 
450,451c449
<                          sizeof ( char ) );
<         if ( error )
---
>                          sizeof ( char ) ) )
522,523c520
<     error = ALLOC( face->metrics, nmetrics * sizeof ( PCF_MetricRec ) );
<     if ( error )
---
>     if ( ALLOC( face->metrics, nmetrics * sizeof ( PCF_MetricRec ) ) )
590,591c587
<     error = ALLOC( offsets, nbitmaps * sizeof ( FT_ULong ) );
<     if ( error )
---
>     if ( ALLOC( offsets, nbitmaps * sizeof ( FT_ULong ) ) )



reply via email to

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