public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/jal/files/
@ 2023-08-20  9:33 Viorel Munteanu
  0 siblings, 0 replies; only message in thread
From: Viorel Munteanu @ 2023-08-20  9:33 UTC (permalink / raw
  To: gentoo-commits

commit:     29b220ce1f48c5407c3cd73395b6caf610c416b7
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 08:30:10 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 09:32:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b220ce

dev-embedded/jal: remove an assert

That assert is obviously wrong, and the fix doesn't look right.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 .../files/jal-0.4.62-fix-incompatible-integer-to-pointer-clang16.patch | 3 +--
 1 file changed, 1 insertion(+), 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);
  


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-20  9:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-20  9:33 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/jal/files/ Viorel Munteanu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox