summaryrefslogtreecommitdiff
path: root/ft/tests/cachetable-prefetch-maybegetandpin-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ft/tests/cachetable-prefetch-maybegetandpin-test.cc')
-rw-r--r--ft/tests/cachetable-prefetch-maybegetandpin-test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ft/tests/cachetable-prefetch-maybegetandpin-test.cc b/ft/tests/cachetable-prefetch-maybegetandpin-test.cc
index e83b7111e5b..884167d815f 100644
--- a/ft/tests/cachetable-prefetch-maybegetandpin-test.cc
+++ b/ft/tests/cachetable-prefetch-maybegetandpin-test.cc
@@ -11,7 +11,7 @@ static int
fetch (CACHEFILE f __attribute__((__unused__)),
int UU(fd),
CACHEKEY k __attribute__((__unused__)),
- u_int32_t fullhash __attribute__((__unused__)),
+ uint32_t fullhash __attribute__((__unused__)),
void **value __attribute__((__unused__)),
void** UU(dd),
PAIR_ATTR *sizep __attribute__((__unused__)),
@@ -41,7 +41,7 @@ static void cachetable_prefetch_maybegetandpin_test (void) {
// prefetch block 0. this will take 10 seconds.
CACHEKEY key = make_blocknum(0);
- u_int32_t fullhash = toku_cachetable_hash(f1, make_blocknum(0));
+ uint32_t fullhash = toku_cachetable_hash(f1, make_blocknum(0));
CACHETABLE_WRITE_CALLBACK wc = def_write_callback(NULL);
r = toku_cachefile_prefetch(f1, key, fullhash, wc, fetch, def_pf_req_callback, def_pf_callback, 0, NULL);
toku_cachetable_verify(ct);
@@ -62,7 +62,7 @@ static void cachetable_prefetch_maybegetandpin_test (void) {
assert(r == 0);
toku_cachetable_verify(ct);
- r = toku_cachefile_close(&f1, 0, FALSE, ZERO_LSN); assert(r == 0);
+ r = toku_cachefile_close(&f1, 0, false, ZERO_LSN); assert(r == 0);
r = toku_cachetable_close(&ct); assert(r == 0 && ct == 0);
}