Revert "undo commit 4a7b8998d867114473cad4e87c38b83fc0afc7f7"

This reverts commit 9b0a70ab2ec3d7a48109743462a34a8d23614096.
long long unsigned int should be uint64_t, to make every arch happy with PRIu64