9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] avl: update example to use correct sig
@ 2024-07-03 20:13 Romano
  0 siblings, 0 replies; only message in thread
From: Romano @ 2024-07-03 20:13 UTC (permalink / raw)
  To: 9front

---
diff f12775c520326e2c300a3346a7deb1a777a9e4f6 8a64e5171aad8bb0201a61e7df3046892ee6617f
--- a/sys/man/2/avl
+++ b/sys/man/2/avl
@@ -113,7 +113,7 @@
 	Node *h, n;
 
 	n.key = key;
-	h = (Node*)avllookup(t, &n);
+	h = (Node*)avllookup(t, &n, 0);
 	return h ? h->val : -1;
 }
 \fI\&...\fP

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

only message in thread, other threads:[~2024-07-03 20:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-03 20:13 [9front] [PATCH] avl: update example to use correct sig Romano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).