summaryrefslogtreecommitdiff
path: root/src/fcinit.c
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2005-09-22 23:45:53 +0000
committerPatrick Lam <plam@MIT.EDU>2005-09-22 23:45:53 +0000
commit67accef4d3e245c1dea341e633d82b14aa03432a (patch)
tree3362ec7cd9a9ce3229bfab083fbb8b33a548b872 /src/fcinit.c
parent141432505aecb158285ccc84ec5d7099e3c2efa7 (diff)
Fix more gcc4 warnings:
- Cast sizeof to int, to shut up signedness warnings in comparison. - Add consts where appropriate. reviewed by: Patrick Lam <plam@mit.edu>
Diffstat (limited to 'src/fcinit.c')
-rw-r--r--src/fcinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcinit.c b/src/fcinit.c
index 8a9bdbd..151c429 100644
--- a/src/fcinit.c
+++ b/src/fcinit.c
@@ -161,7 +161,7 @@ FcInitBringUptoDate (void)
}
static struct {
- char *name;
+ char name[16];
int alloc_count;
int alloc_mem;
int free_count;