]> granicus.if.org Git - graphviz/commitdiff
*** empty log message ***
authorarif <devnull@localhost>
Mon, 3 Mar 2008 23:03:40 +0000 (23:03 +0000)
committerarif <devnull@localhost>
Mon, 3 Mar 2008 23:03:40 +0000 (23:03 +0000)
lib/cgraph/agxbuf.c

index d9bfa398c63177fe6a45475735d318b8f1bcc345..438ace25d27ddf30cfbef2fcba58830e34b5ec3d 100644 (file)
@@ -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) {