summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_blake2_impl.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-02-15 18:03:49 (GMT)
committerBrad King <brad.king@kitware.com>2022-02-15 18:03:49 (GMT)
commitb3644e460fc8556c24c2a520129a16be04d4f2d4 (patch)
treeaf7fe4511c0183e2a70a8272c116f62e9c62052e /Utilities/cmlibarchive/libarchive/archive_blake2_impl.h
parent406503f62087847c7eb34757ca99087bc511cb92 (diff)
parent5d50940288e9158ea3283abe0e85e81872a20f5c (diff)
downloadCMake-b3644e460fc8556c24c2a520129a16be04d4f2d4.zip
CMake-b3644e460fc8556c24c2a520129a16be04d4f2d4.tar.gz
CMake-b3644e460fc8556c24c2a520129a16be04d4f2d4.tar.bz2
Merge branch 'upstream-LibArchive' into update-libarchive
* upstream-LibArchive: LibArchive 2022-02-09 (9147def1)
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_blake2_impl.h')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_blake2_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_blake2_impl.h b/Utilities/cmlibarchive/libarchive/archive_blake2_impl.h
index 0f05def..eb8619c 100644
--- a/Utilities/cmlibarchive/libarchive/archive_blake2_impl.h
+++ b/Utilities/cmlibarchive/libarchive/archive_blake2_impl.h
@@ -154,7 +154,7 @@ static BLAKE2_INLINE uint64_t rotr64( const uint64_t w, const unsigned c )
/* prevents compiler optimizing out memset() */
static BLAKE2_INLINE void secure_zero_memory(void *v, size_t n)
{
- static void *(*const volatile memset_v)(void *, int, size_t) = &memset;
+ static void *(__LA_LIBC_CC *const volatile memset_v)(void *, int, size_t) = &memset;
memset_v(v, 0, n);
}