diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-07-30 12:37:09 +0200 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-04-26 10:41:45 +0100 |
commit | e53274868e0ec35156349826b0995bc444287690 (patch) | |
tree | 58ae5dc74e1b6621d7698c046559f932a759d349 /src/test | |
parent | f436bfd126adaa64daba2e78016eb707e37eabce (diff) |
Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/crypto_diff_fuzz_chacha20.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/crypto_diff_fuzz_chacha20.cpp b/src/test/fuzz/crypto_diff_fuzz_chacha20.cpp index fcc96c6418..1b89d55773 100644 --- a/src/test/fuzz/crypto_diff_fuzz_chacha20.cpp +++ b/src/test/fuzz/crypto_diff_fuzz_chacha20.cpp @@ -128,7 +128,7 @@ void ECRYPT_encrypt_bytes(ECRYPT_ctx* x, const u8* m, u8* c, u32 bytes) { u32 x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15; u32 j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12, j13, j14, j15; - u8* ctarget = NULL; + u8* ctarget = nullptr; u8 tmp[64]; uint32_t i; |