Fix misc compilation errors in ThreadCachedIntTest.
Summary: - int64_t is a long on x86_64, but a long long on 32-bit. - Build a uint64_t from pthread_self() before performing masking on it. Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac Reviewed By: andrei.alexandrescu@fb.com FB internal diff: D998598
Showing
Please register or sign in to comment