clean up type warning in modern clang 32/64bit environment