Fix a bug (range from 1 to N instead of 0 to N-1) Removed a couple of warnings
Fix a bug (range from 1 to N instead of 0 to N-1)
Removed a couple of warnings


bsc-performance-tools/extrae,bsc-performance-tools/extrae,bsc-performance-tools/extrae,bsc-performance-tools/extrae,bsc-performance-tools/extrae