summaryrefslogtreecommitdiff
path: root/src/libdatastruct/avlnode_rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libdatastruct/avlnode_rotate.c')
-rw-r--r--src/libdatastruct/avlnode_rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdatastruct/avlnode_rotate.c b/src/libdatastruct/avlnode_rotate.c
index fe06994..f2f75d7 100644
--- a/src/libdatastruct/avlnode_rotate.c
+++ b/src/libdatastruct/avlnode_rotate.c
@@ -3,7 +3,7 @@
#include <skalibs/avlnode.h>
#include "avlnode-internal.h"
-unsigned int avlnode_rotate (avlnode_ref s, unsigned int max, unsigned int i, int h)
+unsigned int avlnode_rotate (avlnode *s, unsigned int max, unsigned int i, int h)
{
register unsigned int j = s[i].child[!h] ;
s[i].child[!h] = s[j].child[h] ;