summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/read.c b/read.c
index 98522b5..632c7e7 100644
--- a/read.c
+++ b/read.c
@@ -58,7 +58,7 @@ FT_Ensure_Inited(void)
int
readFile(char *filename, FontPtr font)
{
- int i, j, k, index;
+ int j, k, index;
int rc;
FT_Face face;
StrikePtr strike;
@@ -234,7 +234,7 @@ readFile(char *filename, FontPtr font)
return -1;
}
- for(i = 0; i < face->num_fixed_sizes; i++) {
+ for(int i = 0; i < face->num_fixed_sizes; i++) {
if(verbose_flag)
fprintf(stderr, "size %d: %dx%d\n",
i,
@@ -294,7 +294,7 @@ readFile(char *filename, FontPtr font)
FT_Done_Face(face);
j = 0;
- for(i = 0; i < FONT_CODES; i++) {
+ for(int i = 0; i < FONT_CODES; i++) {
int found = 0;
strike = font->strikes;
while(strike) {