use long long type in hashP

Signed-off-by: xiehuc <xiehuc@gmail.com>