]> granicus.if.org Git - graphviz/commitdiff
Yet another integer coordinate hiding in the code.
authorEmden R. Gansner <erg@alum.mit.edu>
Mon, 28 Apr 2014 17:16:40 +0000 (13:16 -0400)
committerEmden R. Gansner <erg@alum.mit.edu>
Mon, 28 Apr 2014 17:16:40 +0000 (13:16 -0400)
lib/common/routespl.c

index 8fbcd2fdc686eb475dbd13e848dca1c4657b6ac4..3a2d5b84ede8f93f08a1484cd1f945a562834195 100644 (file)
@@ -532,7 +532,7 @@ static pointf *_routesplines(path * pp, int *npoints, int polyline)
     if (flip) {
        int i;
        for (bi = 0; bi < boxn; bi++) {
-           int v = boxes[bi].UR.y;
+           double v = boxes[bi].UR.y;
            boxes[bi].UR.y = -1*boxes[bi].LL.y;
            boxes[bi].LL.y = -v;
        }