Parent: 854b003fecb23426bc976e38d612ab8716b15179
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-08-25 17:02:22
Tree: a934ddd5e8bfd55515b117155d4e9be57cc7e17a
build: Fix checking result of sizeof instead of memcmp This can be easily spot when building with clang: emulator/smp.c:373:53: error: size argument in 'memcmp' call is a comparison [-Werror,-Wmemsize-comparison] if (memcmp(conn->pcnf, confirm, sizeof(conn->pcnf) != 0)) { tools/smp-tester.c:596:53: error: size argument in 'memcmp' call is a comparison [-Werror,-Wmemsize-comparison] if (memcmp(data->pcnf, confirm, sizeof(data->pcnf) != 0)) {
Diffstat
| M | emulator/smp.c | | | 2 | +- |
| M | tools/smp-tester.c | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)