From fedeef0beaaf9206c38026a110f56645da964803 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 6 Nov 2023 11:57:47 +0100 Subject: [PATCH] string: fix strncat SAL Signed-off-by: Simon Rozman --- include/stdex/string.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/stdex/string.hpp b/include/stdex/string.hpp index 5ae029cc0..ca5988ac4 100644 --- a/include/stdex/string.hpp +++ b/include/stdex/string.hpp @@ -748,13 +748,13 @@ namespace stdex /// /// \param[in] dst Destination string /// \param[in] src Source string - /// \param[in] count String code unit count limit + /// \param[in] count Source string code unit count limit /// /// \return Number of code units excluding zero terminator in the dst string after the operation. /// template inline size_t strncat( - _Out_writes_(count) _Post_maybez_ T1* dst, + _Inout_z_ T1* dst, _In_reads_or_z_opt_(count) const T2* src, _In_ size_t count) { _Assume_(dst && src || !count);