freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] Type42 + gcc3.x: operation may be undefind


From: Sven Neumann
Subject: Re: [Devel] Type42 + gcc3.x: operation may be undefind
Date: 20 Jun 2002 23:38:48 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Hi,

> The fix is:
> 
>    v = (FT_Byte)( 16 * t42_hexval( *cur ) + t42_hexval( *(cur+1) ) );
>    cur += 2;

wouldn't one rather want to write

 v = (FT_Byte)( 16 * t42_hexval( cur[0] ) + t42_hexval( cur[1] ) );

instead? But of course that's purely cosmetic...


Salut, Sven


reply via email to

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