summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-pycrypto/cross-compiling.patch
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2017-02-03 09:46:11 +0100
committerArmin Kuster <akuster808@gmail.com>2017-02-18 11:43:20 -0800
commit8d0cc9b00459438142d9a72fd85edce633c69da6 (patch)
treed6bd554c515770b9c78cece6df30efb6f392436e /recipes-devtools/python/python-pycrypto/cross-compiling.patch
parentb70a046ce482627edab0c347259c3a25de277d09 (diff)
downloadmeta-security-8d0cc9b00459438142d9a72fd85edce633c69da6.tar.gz
swtpm: fix compiler format warning
When building for x86-64, gcc complains: tpm_ioctl.c:866:9: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’ [-Werror=format=] | printf("ptm capability is 0x%llx\n", (uint64_t)devtoh64(is_chardev, cap)); | ^ | cc1: all warnings being treated as errors Casting to "long long unsigned" matches the format specifier in all cases, including those where "long long" is larger than 64 bits. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-pycrypto/cross-compiling.patch')
0 files changed, 0 insertions, 0 deletions