renderer2: fixed 32/64 bit clang warning, refs #360