fix type inconsistencies

- 'thisnode' is declared as 'char'
- fix wrong defintion in bandmap.c and adapt structure in bandmap.h