Don't require nonstandard __builtin_unreachable() in UNREACHABLE().
Fix #304 (I hope).
This commit is contained in:
+1
-1
@@ -212,7 +212,7 @@ static void allocCallback(uv_handle_t* handle, size_t suggestedSize,
|
||||
uv_buf_t* buf)
|
||||
{
|
||||
// TODO: Handle allocation failure.
|
||||
buf->base = malloc(suggestedSize);
|
||||
buf->base = (char*)malloc(suggestedSize);
|
||||
buf->len = suggestedSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user