Make a few implicit truncations either explicit, or not truncate
[folly.git] / folly / io / test / IOBufQueueTest.cpp
index 3b000ea8cb3f8f920be984dedbf7fb7c7bc1d1a6..a22715dace88c925c7123697e7042a1d8e8aa61a 100644 (file)
@@ -177,7 +177,7 @@ TEST(IOBufQueue, SplitZero) {
 TEST(IOBufQueue, Preallocate) {
   IOBufQueue queue(clOptions);
   queue.append(string("Hello"));
-  pair<void*,uint32_t> writable = queue.preallocate(2, 64, 64);
+  pair<void*, uint64_t> writable = queue.preallocate(2, 64, 64);
   checkConsistency(queue);
   EXPECT_NE((void*)nullptr, writable.first);
   EXPECT_LE(2, writable.second);