I am quite new to VXL, and I get a compiler error when I use remove(..) from vgl_rtree:

 error C2220: warning treated as error - no 'object' file generated
vxl-0906-vc8sp1\source\core\vgl/algo/vgl_rtree.txx(210) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

The error comes from the function

void vgl_rtree_node<V, B, C>::erase(int i)

at line:
// update the node counts in p :
p->update_total_chs(- n->total_chs);

Apparently, total_chs is unsigned, and update_total_chs(int).

I have an older version of VXL, however it seems that the code from the latest version is unchanged (in this respect).

Is this a bug in VXL or I did something "wrong"?