X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/1b8ae6904556859bbe91aadf35b8adcc1a0611ce..36250f225665415476f402c25e138d99fa18381b:/src/cstringList.c diff --git a/src/cstringList.c b/src/cstringList.c index 1a71e71..145c8d2 100644 --- a/src/cstringList.c +++ b/src/cstringList.c @@ -17,8 +17,8 @@ ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ** MA 02111-1307, USA. ** -** For information on splint: splint@cs.virginia.edu -** To report a bug: splint-bug@cs.virginia.edu +** For information on splint: info@splint.org +** To report a bug: splint-bug@splint.org ** For more information: http://www.splint.org */ /* @@ -174,7 +174,7 @@ cstringList_unparseSep (cstringList s, cstring sep) } void -cstringList_printSpaced (cstringList s, int indent, int gap, int linelen) +cstringList_printSpaced (cstringList s, size_t indent, size_t gap, int linelen) { if (cstringList_isDefined (s)) { @@ -182,7 +182,7 @@ cstringList_printSpaced (cstringList s, int indent, int gap, int linelen) cstring istring = cstring_fill (cstring_undefined, indent); cstring gstring = cstring_fill (cstring_undefined, gap); int numcol; - int longest = 0; + size_t longest = 0; int i; /* @@ -191,7 +191,7 @@ cstringList_printSpaced (cstringList s, int indent, int gap, int linelen) for (i = 0; i < s->nelements; i++) { - int len = cstring_length (s->elements[i]); + size_t len = cstring_length (s->elements[i]); if (len > longest) {