Fix breakage on 64bit architecture by using inttypes.h macro.
This commit is contained in:
parent
3742bd96fe
commit
854c2875cc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211221
@ -40,6 +40,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "acpidump.h"
|
||||
|
||||
@ -646,7 +647,7 @@ acpi_handle_tcpa(ACPI_TABLE_HEADER *sdp)
|
||||
printf(END_COMMENT);
|
||||
return;
|
||||
}
|
||||
printf("\tClass %d Base Address 0x%jx Length %llu\n\n",
|
||||
printf("\tClass %d Base Address 0x%jx Length %" PRIu64 "\n\n",
|
||||
tcpa->platform_class, paddr, len);
|
||||
|
||||
if (len == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user