diff options
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c index a2aac07..40381c5 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -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; |