fix 64 bit compile warning