Skip to content

Commit ce6a0c3

Browse files
authored
Merge pull request #19293 from JuliaLang/tb/clang_warning
Silence compiler warning.
2 parents 9c181c1 + c265db3 commit ce6a0c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/init.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ JL_DLLEXPORT void jl_atexit_hook(int exitcode)
214214

215215
// replace standard output streams with something that we can still print to
216216
// after the finalizers from base/stream.jl close the TTY
217-
JL_STDOUT = STDOUT_FILENO;
218-
JL_STDERR = STDERR_FILENO;
217+
JL_STDOUT = (uv_stream_t*) STDOUT_FILENO;
218+
JL_STDERR = (uv_stream_t*) STDERR_FILENO;
219219

220220
jl_gc_run_all_finalizers(ptls);
221221

0 commit comments

Comments
 (0)