Commit aaae08a7 authored by Uros Bizjak's avatar Uros Bizjak Committed by Pedro Alves
Browse files

Avoid "enum conversion when passing argument 1 of 'getrusage' is invalid in C++" warning

 	* getruntime.c (get_run_time) [__USE_GNU]: Use RUSAGE_SELF as
 	argument 1 of getrusage call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225534 138bc75d-0d04-0410-961f-82ee72b054a4
parent e3e3b08c
Supports Markdown
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