- fixed Linux warning with type cast.