On Die, 2007-09-25 at 15:16 +0200, Thomas Lopatic wrote:
[...]
> > Hannes: "unsigned char" or "signed char"?

Of course anyone can answer if he/she knows about it;-)

> >>From above I would guess "signed" (otherwise the comparisons wouldn't
> > make sense).

[...]
> 
> Yup. That should be "signed". "balance" is the height difference between
> the left and the right subtree under a node. It can be -1, 0, or +1.

Thanks. Good.
The "char leader" below is set only to 0 and 1 (in src/lq_avl.c). So it
is "unsigned"?

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services




