summaryrefslogtreecommitdiff
path: root/read.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-12 17:48:28 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-12 17:48:28 -0200
commit51a24f2177b09f8ef63ba1e5b09028f0582e1138 (patch)
treeeec34d9243cc578bb8f2e786f3be653f47329483 /read.c
parenta9a8778a984e69007d77227969b0103b2a81e4c8 (diff)
Ansification and compile warning fixes.
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings.
Diffstat (limited to 'read.c')
-rw-r--r--read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.c b/read.c
index 440d50a..bee518c 100644
--- a/read.c
+++ b/read.c
@@ -238,8 +238,8 @@ readFile(char *filename, FontPtr font)
if(verbose_flag)
fprintf(stderr, "size %d: %dx%d\n",
i,
- face->available_sizes[i].x_ppem >> 6,
- face->available_sizes[i].y_ppem >> 6);
+ (int)(face->available_sizes[i].x_ppem >> 6),
+ (int)(face->available_sizes[i].y_ppem >> 6));
rc = FT_Set_Pixel_Sizes(face,
face->available_sizes[i].x_ppem >> 6,