Fix double to unsigned char cast error on clang compiler.

Change-Id: I3979f3eeb2407a9924e57cf4b8540ea67693807e
Merge topic 'FixBoxPlot_doublecast' into master

35261130 Fix double to unsigned char cast error on clang compiler.