forked from minhngoc25a/freetype2
some minor changes to allow compilation in all modes, without warnings
This commit is contained in:
parent
b632ac6e5a
commit
53dc9ca9c3
|
@ -1,3 +1,12 @@
|
||||||
|
2001-01-11 Matthew Crosby <mcrosby@marthon.org>
|
||||||
|
|
||||||
|
* src/pcd/pcfread.c: removed some compilation warnings related
|
||||||
|
to comparison of signed vs. unsigned integers
|
||||||
|
|
||||||
|
* include/freetype/internal/ftdebug.h: changed the debug trace
|
||||||
|
constants from trace_t2xxxx to trace_cffxxxx to be able to compile
|
||||||
|
the CFF driver in debug mode
|
||||||
|
|
||||||
2001-01-11 Matthew Crosby <mcrosby@marthon.org>
|
2001-01-11 Matthew Crosby <mcrosby@marthon.org>
|
||||||
|
|
||||||
* builds/unix/freetype-config.in: Fix problems with separate
|
* builds/unix/freetype-config.in: Fix problems with separate
|
||||||
|
|
|
@ -82,11 +82,11 @@ FT_BEGIN_HEADER
|
||||||
trace_psobjs,
|
trace_psobjs,
|
||||||
|
|
||||||
/* Type 2 driver components */
|
/* Type 2 driver components */
|
||||||
trace_t2driver,
|
trace_cffdriver,
|
||||||
trace_t2gload,
|
trace_cffgload,
|
||||||
trace_t2load,
|
trace_cffload,
|
||||||
trace_t2objs,
|
trace_cffobjs,
|
||||||
trace_t2parse,
|
trace_cffparse,
|
||||||
|
|
||||||
/* CID driver components */
|
/* CID driver components */
|
||||||
trace_cidafm,
|
trace_cidafm,
|
||||||
|
|
|
@ -117,8 +117,8 @@ THE SOFTWARE.
|
||||||
#if defined( FT_DEBUG_LEVEL_TRACE )
|
#if defined( FT_DEBUG_LEVEL_TRACE )
|
||||||
|
|
||||||
{
|
{
|
||||||
int i,j;
|
unsigned int i,j;
|
||||||
char* name;
|
char* name = "?";
|
||||||
|
|
||||||
|
|
||||||
FT_TRACE4(( "Tables count: %ld\n", face->toc.count ));
|
FT_TRACE4(( "Tables count: %ld\n", face->toc.count ));
|
||||||
|
@ -126,7 +126,7 @@ THE SOFTWARE.
|
||||||
for ( i = 0; i < toc->count; i++ )
|
for ( i = 0; i < toc->count; i++ )
|
||||||
{
|
{
|
||||||
for( j = 0; j < sizeof ( tableNames ) / sizeof ( tableNames[0] ); j++ )
|
for( j = 0; j < sizeof ( tableNames ) / sizeof ( tableNames[0] ); j++ )
|
||||||
if ( tables[i].type == ( 1 << j ) )
|
if ( tables[i].type == (unsigned int)( 1 << j ) )
|
||||||
name=tableNames[j];
|
name=tableNames[j];
|
||||||
FT_TRACE4(( "Table %d: type=%-6s format=0x%04lX "
|
FT_TRACE4(( "Table %d: type=%-6s format=0x%04lX "
|
||||||
"size=0x%06lX (%8ld) offset=0x%04lX\n",
|
"size=0x%06lX (%8ld) offset=0x%04lX\n",
|
||||||
|
|
Loading…
Reference in New Issue