summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-08-20 11:30:10 +0300
committerViorel Munteanu <ceamac@gentoo.org>2023-08-20 12:32:31 +0300
commit29b220ce1f48c5407c3cd73395b6caf610c416b7 (patch)
tree60914777c9f6cb2206875244a78729771fbdde89 /dev-embedded/jal
parentdev-embedded/jal: Fix incompatible integer to pointer conversion (diff)
downloadgentoo-29b220ce1f48c5407c3cd73395b6caf610c416b7.tar.gz
gentoo-29b220ce1f48c5407c3cd73395b6caf610c416b7.tar.bz2
gentoo-29b220ce1f48c5407c3cd73395b6caf610c416b7.zip
dev-embedded/jal: remove an assert
That assert is obviously wrong, and the fix doesn't look right. Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-embedded/jal')
-rw-r--r--dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch3
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch b/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
index 10bef3a4c573..77536e0fefac 100644
--- a/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
+++ b/dev-embedded/jal/files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch
@@ -12,12 +12,11 @@ Bug: https://bugs.gentoo.org/883243
--- a/jal/treetools.c
+++ b/jal/treetools.c
-@@ -600,7 +600,7 @@ tree arg(tree p, int n, boolean must_find)
+@@ -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);
-+ assert_pointer(p->loc, (void *)( n > 0 ));
p = p->first;
assert_pointer(NULL, p);