diff options
Diffstat (limited to 'src/file_ttf.c')
-rw-r--r-- | src/file_ttf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/file_ttf.c b/src/file_ttf.c index ffc475ae..86236230 100644 --- a/src/file_ttf.c +++ b/src/file_ttf.c @@ -23,9 +23,6 @@ #ifdef HAVE_CONFIG_H #include <config.h> #endif -#ifdef HAVE_STDLIB_H -#include <stdlib.h> -#endif #ifdef HAVE_STRING_H #include <string.h> #endif @@ -36,7 +33,6 @@ #include "types.h" #include "common.h" #include "filegen.h" -#include "log.h" static void register_header_check_ttf(file_stat_t *file_stat); static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new); @@ -111,7 +107,7 @@ static int header_check_ttf(const unsigned char *buffer, const unsigned int buff { const struct ttf_table_directory*ttf_dir=(const struct ttf_table_directory*)(ttf+1); uint64_t max_offset=0; - int i; + unsigned int i; for(i=0; i<numTables; i++,ttf_dir++) { /* | 0x3: align the end of the table */ |