Commit a98a8eb0 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #421 from dwrensha/bad-double-far

Edit error message for the case where copyPointer() hits a FAR pointer.
parents 01f6d5e4 9a9335b1
......@@ -738,7 +738,7 @@ struct WireHelpers {
break;
}
case WirePointer::FAR:
KJ_FAIL_ASSERT("Unexpected FAR pointer.") {
KJ_FAIL_REQUIRE("Unexpected FAR pointer.") {
break;
}
break;
......@@ -1872,7 +1872,7 @@ struct WireHelpers {
}
case WirePointer::FAR:
KJ_FAIL_ASSERT("Far pointer should have been handled above.") {
KJ_FAIL_REQUIRE("Unexpected FAR pointer.") {
goto useDefault;
}
......
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