changes for actubent - not compiling!
FossilOrigin-Name: adf99bdc2ee784a4acf4066b90c33fb1e6124e8c49c255d3fd5011bb33852d52
This commit is contained in:
@ -22,11 +22,11 @@
|
||||
#include "mavl.h"
|
||||
|
||||
|
||||
struct mavlnode * mavl_get_node(struct mavl *t ,void *data)
|
||||
struct mavlnode * mavl_get_node(struct mavl *t ,union mavldata *data)
|
||||
{
|
||||
struct mavlnode *n = t->root;
|
||||
while(n){
|
||||
int rc=t->cmp(data,n->data);
|
||||
int rc=t->cmp(data,&n->data);
|
||||
if (rc==0)
|
||||
return n;
|
||||
if (rc<0)
|
||||
|
||||
Reference in New Issue
Block a user