remove compiler warnings and a typo in builds/unix/ftsystem.c

This commit is contained in:
David Turner 2002-01-04 09:47:30 +00:00
parent 1a0a97938a
commit 7fe38a5124
4 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2002-01-04 David Turner <david@freetype.org>
* builds/unix/ftsystem.c (FT_New_Stream): fixed typo
* src/base/ftobjs.c: added #include FT_OUTLINE_H to get rid
of compiler warnings
* src/base/ftoutln.c (FT_Outline_Check): remove compiler warning
2002-01-03 Werner Lemberg <wl@gnu.org>
* src/type1/t1objs.c (T1_Face_Init): Add cast to avoid compiler

View File

@ -230,9 +230,9 @@
/* */
#ifdef F_SETFD
#ifdef FD_CLOEXEC
ret = fcntl( file, F_SETFD, FD_CLOEXEC );
(void) fcntl( file, F_SETFD, FD_CLOEXEC );
#else
ret = fcntl( file, F_SETFD, 1 );
(void) fcntl( file, F_SETFD, 1 );
#endif /* FD_CLOEXEC */
#endif /* F_SETFD */

View File

@ -18,6 +18,7 @@
#include <ft2build.h>
#include FT_LIST_H
#include FT_OUTLINE_H
#include FT_INTERNAL_OBJECTS_H
#include FT_INTERNAL_DEBUG_H
#include FT_INTERNAL_STREAM_H

View File

@ -320,6 +320,7 @@
goto Bad;
end0 = -1;
end = end0;
for ( n = 0; n < n_contours; n++ )
{
end = outline->contours[n];