summaryrefslogtreecommitdiff
path: root/ident.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-11-04 12:21:16 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-11-06 14:19:08 -0800
commit3bc4d05ff753c1b8357455a614bc5d11fffcfc0e (patch)
tree5f73b4f9f9a0f53ef4292af6f80a51b5f75f5d44 /ident.c
parent19137ec2f129f91ce3adb46218c86e1bf547e661 (diff)
Resolve some -Wsign-conversion warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'ident.c')
-rw-r--r--ident.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ident.c b/ident.c
index 4a1d1eb..37cc1e1 100644
--- a/ident.c
+++ b/ident.c
@@ -392,8 +392,8 @@ bdfend(fontFile *f)
{
int c;
char *buf = NULL;
- int bufsize = 0;
- int i = 0;
+ size_t bufsize = 0;
+ unsigned int i = 0;
do {
c = fontFileGetc(f);