]> granicus.if.org Git - graphviz/commitdiff
eliminate 'warning: cast from pointer to integer of different size'
authorJohn Ellson <ellson@research.att.com>
Mon, 18 Mar 2013 20:19:44 +0000 (16:19 -0400)
committerJohn Ellson <ellson@research.att.com>
Mon, 18 Mar 2013 20:19:44 +0000 (16:19 -0400)
lib/label/rectangle.c

index d634291734b21c1445b4678adc6f01ad0ac5170b..f50c56e15887128f3ce0e796a281d6cea5fb81ce 100644 (file)
@@ -239,7 +239,7 @@ int Overlap(Rect_t * r, Rect_t * s)
 int Contained(Rect_t * r, Rect_t * s)
 {
     register int i, j, result;
-    assert((int) r && (int) s);
+    assert(r && s);
 
     /* undefined rect is contained in any other */
     if (Undefined(r))