fixed #303: replace %ld with % PRId64
Merge pull request #304 from Liuchang0812/fix-check

fixed #303: replace %ld with % PRId64