You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-embedded/jal/files/jal-0.4.62-fix-incompatible...

23 lines
646 B

Bug: https://bugs.gentoo.org/883243
--- a/jal/treerep.c
+++ b/jal/treerep.c
@@ -892,7 +892,7 @@ tree new_asm(loc_t loc, opcode_t opcode, tree arg1, int arg2)
if (code_has(p->opcode, field_flabel)) {
- assert_pointer(NULL, arg2);
+ assert_pointer(NULL, (void *)arg2);
p->next = new_const(new_value(type_universal, arg2));
}
--- a/jal/treetools.c
+++ b/jal/treetools.c
@@ -600,7 +600,6 @@ tree arg(tree p, int n, boolean must_find)
#endif
assert_kind(p->loc, p, node_procedure);
/* jal_assert(p->loc, n > 0); */
- assert_pointer(p->loc, n > 0);
p = p->first;
assert_pointer(NULL, p);