diff options
| -rw-r--r-- | recipes-tpm/swtpm/files/fix_signed_issue.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-tpm/swtpm/files/fix_signed_issue.patch b/recipes-tpm/swtpm/files/fix_signed_issue.patch index 427df62..140585b 100644 --- a/recipes-tpm/swtpm/files/fix_signed_issue.patch +++ b/recipes-tpm/swtpm/files/fix_signed_issue.patch | |||
| @@ -42,7 +42,7 @@ Index: git/src/swtpm_ioctl/tpm_ioctl.c | |||
| 42 | } | 42 | } |
| 43 | /* no tpm_result here */ | 43 | /* no tpm_result here */ |
| 44 | - printf("ptm capability is 0x%lx\n", (uint64_t)devtoh64(is_chardev, cap)); | 44 | - printf("ptm capability is 0x%lx\n", (uint64_t)devtoh64(is_chardev, cap)); |
| 45 | + printf("ptm capability is 0x%llx\n", (uint64_t)devtoh64(is_chardev, cap)); | 45 | + printf("ptm capability is 0x%llx\n", (long long unsigned)devtoh64(is_chardev, cap)); |
| 46 | 46 | ||
| 47 | } else if (!strcmp(command, "-i")) { | 47 | } else if (!strcmp(command, "-i")) { |
| 48 | init.u.req.init_flags = htodev32(is_chardev, PTM_INIT_FLAG_DELETE_VOLATILE); | 48 | init.u.req.init_flags = htodev32(is_chardev, PTM_INIT_FLAG_DELETE_VOLATILE); |
