Fix compiler warning for 64bit platform