protect potential overflow for x86_64
1 file changed