mirror of
https://github.com/intel/llvm.git
synced 2026-01-30 05:55:35 +08:00
Revert "[libc] Enable -Wconversion for tests. (#127523)"
This reverts commit 1e6e845d49 because it
changed the 1st parameter of adjust() to be unsigned, but libc itself
calls adjust() with a negative argument in align_backward() in
op_generic.h.
This commit is contained in:
@@ -34,7 +34,7 @@ int ProcessStatus::get_fatal_signal() {
|
||||
return WTERMSIG(platform_defined);
|
||||
}
|
||||
|
||||
ProcessStatus invoke_in_subprocess(FunctionCaller *func, int timeout_ms) {
|
||||
ProcessStatus invoke_in_subprocess(FunctionCaller *func, unsigned timeout_ms) {
|
||||
int pipe_fds[2];
|
||||
if (::pipe(pipe_fds) == -1) {
|
||||
delete func;
|
||||
|
||||
Reference in New Issue
Block a user