8044071: Print format/argument warnings

Reviewed-by: drchase, dholmes, lfoltan, twisti
This commit is contained in:
Mikael Vidstedt 2014-05-29 16:01:13 -07:00
parent 679712201d
commit fc984ddd84
8 changed files with 31 additions and 29 deletions

View file

@ -1202,7 +1202,7 @@ void RegistersForDebugging::print(outputStream* s) {
if ( j != last ) s->print(" - f%d", last);
s->print(" = %f", val);
s->fill_to(25);
s->print_cr(" (0x%x)", val);
s->print_cr(" (0x%x)", *(int*)&val);
j = last + 1;
}
s->cr();