Fix Savannah bug #30644.

* src/base/ftstream.c (FT_Stream_EnterFrame): Fix comparison.
This commit is contained in:
Werner Lemberg 2010-08-04 15:54:55 +02:00
parent 32dc43a5cc
commit 45a3c76b54
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-08-04 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #30644.
* src/base/ftstream.c (FT_Stream_EnterFrame): Fix comparison.
2010-08-04 Werner Lemberg <wl@gnu.org>
`make devel' fails if FT_CONFIG_OPTION_OLD_INTERNALS is set.

View File

@ -287,7 +287,7 @@
{
/* check current and new position */
if ( stream->pos >= stream->size ||
stream->pos + count > stream->size )
stream->size - stream->pos < count )
{
FT_ERROR(( "FT_Stream_EnterFrame:"
" invalid i/o; pos = 0x%lx, count = %lu, size = 0x%lx\n",