common/hud: fix a conversion warning

warning C4242: 'argument' : conversion from 'int' to 'char', possible loss of data