diff options
author | Karel Zak | 2019-05-22 17:42:48 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-22 17:42:48 +0200 |
commit | 1a56f15b0fe047dfd85fa1a7aaddcc8504e403a6 (patch) | |
tree | 02ad3b4e45b6d6821fd9d2fccf4b0d92ec106a28 /include/match.h | |
parent | include/c: use __has_attribute (diff) | |
download | kernel-qcow2-util-linux-1a56f15b0fe047dfd85fa1a7aaddcc8504e403a6.tar.gz kernel-qcow2-util-linux-1a56f15b0fe047dfd85fa1a7aaddcc8504e403a6.tar.xz kernel-qcow2-util-linux-1a56f15b0fe047dfd85fa1a7aaddcc8504e403a6.zip |
libfdisk: (sgi) improve checksum calculation [-Waddress-of-packed-member]
Let's keep compilers and static analyzers happy. The idea is to use
memcpy() to copy from buffer to variable and use all label as unsigned
char rather than vectorize by uint32_t.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/match.h')
0 files changed, 0 insertions, 0 deletions