Fix -Wpointer-to-int-cast warning by compare address from int to long ing

Intel 64-bit gdb test result
p sizeof(long int)
$2 = 8

(gdb) p sizeof(int)
$3 = 4