Add some more casts (2/2)
[deliverable/binutils-gdb.git] / gdb / memattr.c
index a2aac07492700e54424653709afd86bda3ac677e..40381c56a9d5655a703bf43c5dcdf4583fdf25c4 100644 (file)
@@ -98,8 +98,8 @@ mem_region_lessthan (const struct mem_region *lhs,
 int
 mem_region_cmp (const void *untyped_lhs, const void *untyped_rhs)
 {
-  const struct mem_region *lhs = untyped_lhs;
-  const struct mem_region *rhs = untyped_rhs;
+  const struct mem_region *lhs = (const struct mem_region *) untyped_lhs;
+  const struct mem_region *rhs = (const struct mem_region *) untyped_rhs;
 
   if (lhs->lo < rhs->lo)
     return -1;
This page took 0.025035 seconds and 4 git commands to generate.