From ec3a3be798e20d3872b4adfc20a9b7fa12c5b9ff Mon Sep 17 00:00:00 2001 From: Ziyang Men <45626759+RomaLzhih@users.noreply.github.com> Date: Tue, 23 Dec 2025 17:01:48 -0800 Subject: [PATCH] Fix right function parameter type in basic_node --- include/pam/basic_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pam/basic_node.h b/include/pam/basic_node.h index 282cca7..85f557b 100644 --- a/include/pam/basic_node.h +++ b/include/pam/basic_node.h @@ -57,7 +57,7 @@ struct basic_node { inline static ET* get_entry_p(node *a) {return &(a->entry);} static void set_entry(node *a, ET e) {a->entry = e;} static node* left(node a) {return a.lc;} - static node* right(node* a) {return a.rc;} + static node* right(node a) {return a.rc;} }; //template