Commit 02157fcb authored by Kenton Varda's avatar Kenton Varda

Fix build on GCC.

parent 14c2b08e
......@@ -131,7 +131,7 @@ TEST(Message, MessageBuilderInitSpaceAvailable) {
ASSERT_EQ(1, segs.size());
KJ_ASSERT(segs[0].begin() == buffer);
MessageBuilder::SegmentInit init = { buffer, segs[0].size() };
MessageBuilder::SegmentInit init = { kj::ArrayPtr<word>(buffer), segs[0].size() };
KJ_DBG(init.space.size(), init.wordsUsed);
// Init a new builder from the old segments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment