11/*
2- * Copyright (c) 1997, 2024 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 1997, 2025 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
@@ -971,7 +971,7 @@ static void print_hex_location(outputStream* st, const_address p, int unitsize,
971971 const uint64_t value =
972972 LITTLE_ENDIAN_ONLY ((((uint64_t )i2) << 32 ) | i1)
973973 BIG_ENDIAN_ONLY ((((uint64_t )i1) << 32 ) | i2);
974- st->print (" %016 " FORMAT64_MODIFIER " x " , value);
974+ st->print (UINT64_FORMAT_0 , value);
975975 print_ascii_form (ascii_form, value, unitsize);
976976 } else {
977977 st->print_raw (" ????????????????" );
@@ -995,7 +995,7 @@ static void print_hex_location(outputStream* st, const_address p, int unitsize,
995995 case 1 : st->print (" %02x" , (u1)value); break ;
996996 case 2 : st->print (" %04x" , (u2)value); break ;
997997 case 4 : st->print (" %08x" , (u4)value); break ;
998- case 8 : st->print (" %016 " FORMAT64_MODIFIER " x " , (u8 )value); break ;
998+ case 8 : st->print (UINT64_FORMAT_0 , (u8 )value); break ;
999999 }
10001000 print_ascii_form (ascii_form, value, unitsize);
10011001 } else {
0 commit comments