Fix compile warning.
Use uint64_t instead of unsigned long long.
Use scientific notation for 1000000.
Define atomic add for better portability.
Merge pull request #1 from cyfdecyf/master

Fix compile warning.