Merge pull request #1 from rethinkdb/next

Use PRIi64 macro to work around clang weirdness