From: arif Date: Mon, 3 Mar 2008 23:03:40 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LAST_LIBGRAPH~32^2~4589 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec19d930bacb98ba60cbc0f08a8e31e4188f92c3;p=graphviz *** empty log message *** --- diff --git a/lib/cgraph/agxbuf.c b/lib/cgraph/agxbuf.c index d9bfa398c..438ace25d 100644 --- a/lib/cgraph/agxbuf.c +++ b/lib/cgraph/agxbuf.c @@ -53,7 +53,7 @@ int agxbmore(agxbuf * xb, unsigned int ssz) size = xb->eptr - xb->buf; nsize = 2 * size; - if (size + ssz > nsize) + if (size + (int)ssz > nsize) nsize = size + ssz; cnt = xb->ptr - xb->buf; if (xb->dyna) {