fix for compiling with icc compiler

explicit type conversion