ocr-utils/xml-entities.cc:119: error: invalid conversion from 'constchar*' to 'char*'
The following change fixes the error:
119c119< while((p = strchr(begin, '&'))) {---> while((p = strchr((char *)begin, '&'))) {