Change char to unsigned char.
Initialization of histogramCounter.