6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2

Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2

Reviewed-by: jcoomes, acorn, phh, never
This commit is contained in:
Xiaobin Lu 2008-12-24 19:13:53 -08:00
parent 1362b9fd1d
commit f05b009ce8
16 changed files with 76 additions and 49 deletions

View file

@ -730,7 +730,7 @@ void SafepointSynchronize::print_safepoint_timeout(SafepointTimeoutReason reason
if (DieOnSafepointTimeout) {
char msg[1024];
VM_Operation *op = VMThread::vm_operation();
sprintf(msg, "Safepoint sync time longer than %d ms detected when executing %s.",
sprintf(msg, "Safepoint sync time longer than " INTX_FORMAT "ms detected when executing %s.",
SafepointTimeoutDelay,
op != NULL ? op->name() : "no vm operation");
fatal(msg);