diff options
author | ru <ru@FreeBSD.org> | 2001-07-10 17:09:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-07-10 17:09:00 +0000 |
commit | 8d6dea3a5542a987c08a218c28776d3751d6878d (patch) | |
tree | 815804646c42fb89b4a8005be0c1f82d27b95463 /contrib/groff/src/libs/libgroff/font.cc | |
parent | 9ea23f4150d8e9a0b84050876c26239addf73c8c (diff) | |
download | FreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.zip FreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.tar.gz |
Virgin import of FSF groff v1.17.2
Diffstat (limited to 'contrib/groff/src/libs/libgroff/font.cc')
-rw-r--r-- | contrib/groff/src/libs/libgroff/font.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/groff/src/libs/libgroff/font.cc b/contrib/groff/src/libs/libgroff/font.cc index 6cdd647..aa602b4 100644 --- a/contrib/groff/src/libs/libgroff/font.cc +++ b/contrib/groff/src/libs/libgroff/font.cc @@ -1,5 +1,6 @@ // -*- C++ -*- -/* Copyright (C) 1989, 1990, 1991, 1992, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2001 + Free Software Foundation, Inc. Written by James Clark (jjc@jclark.com) This file is part of groff. @@ -751,7 +752,7 @@ int font::load_desc() while (t.next()) { char *p = strtok(t.buf, WS); int found = 0; - int idx; + unsigned int idx; for (idx = 0; !found && idx < sizeof(table)/sizeof(table[0]); idx++) if (strcmp(table[idx].command, p) == 0) found = 1; |