Home GnuPG

tests: Fix null pointer arithmetic.

Description

tests: Fix null pointer arithmetic.

* tests/bench-slope.c (slope_benchmark): Don't use null pointer.

Compiler complains with -Wnull-pointer-substraction.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 28 2022, 2:53 AM
Parents
rCa0db0a121571: Fix building sha512-avx512 with clang
Branches
Unknown
Tags
Unknown