Skip to content

Commit

Permalink
Silence compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Nov 10, 2016
1 parent 5fa05dc commit c265db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ JL_DLLEXPORT void jl_atexit_hook(int exitcode)

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

jl_gc_run_all_finalizers(ptls);

Expand Down

0 comments on commit c265db3

Please sign in to comment.