]> granicus.if.org Git - graphviz/commitdiff
warning clean up
authorarif <devnull@localhost>
Wed, 23 Apr 2008 19:08:53 +0000 (19:08 +0000)
committerarif <devnull@localhost>
Wed, 23 Apr 2008 19:08:53 +0000 (19:08 +0000)
cmd/smyrna/selection.c

index 82b42c59492d257a4cbbff3329be621b5aaa24dc..eb659abea7a3bed23e49a84b032db9ab7e903f90 100755 (executable)
@@ -1021,7 +1021,7 @@ int point_within_sphere_with_coords(float x0, float y0, float z0, float r,
                                    float x, float y,float z)
 {
        float rr=(x-x0)*(x-x0)+(y-y0)*(y-y0)+(z-z0)*(z-z0);
-       rr=pow(rr,0.5);
+       rr=(float)pow(rr,0.5);
        if (rr <= r)
                return 1;
        return 0;