[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    Re: [ft-devel] [PATCH] Read unsigned int from font file to avoid
From:       Werner LEMBERG <wl () gnu ! org>
Date:       2011-04-12 7:28:20
Message-ID: 20110412.092820.441600583.wl () gnu ! org
[Download RAW message or body]


> FT_GET_ULONG is defined as FT_GET_MACRO( FT_Stream_GetLong, FT_ULong )
> which casts a probably sign extended long to a unsigned long, thus the
> 0xffffffff prefix.
> 
> I don't know which approach to fix this issue is desired, so I'm
> proposing two patches here.

Thanks a lot!  I've decided to use your second patch.  It's now in the
git repository.


    Werner

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic