Interesting, what's the error here? And I don't think intensity is the best choice when casting to char. Also, can you add empty lines before and after the line to match PCL style? Same for the other lines in this patch.