diff options
author | max42 <max42@yandex-team.ru> | 2022-02-10 16:47:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:51 +0300 |
commit | 9988f7c537b40605e1a0aaae2977d5f540425b83 (patch) | |
tree | a4f3497f66e2dcd82d0f7ae7573acd1320d1bc78 /library/cpp/yt/string/string.cpp | |
parent | 0a579de32b745908473b2cea7c5cd5540bc801f0 (diff) | |
download | ydb-9988f7c537b40605e1a0aaae2977d5f540425b83.tar.gz |
Restoring authorship annotation for <max42@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/string/string.cpp')
-rw-r--r-- | library/cpp/yt/string/string.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/string/string.cpp b/library/cpp/yt/string/string.cpp index 7440ac3fdd..e3734288e8 100644 --- a/library/cpp/yt/string/string.cpp +++ b/library/cpp/yt/string/string.cpp @@ -130,7 +130,7 @@ char* WriteSignedIntToBufferBackwardsImpl(char* ptr, T value, TStringBuf min) // The negative value handling code below works incorrectly for min values. if (value == std::numeric_limits<T>::min()) { ptr -= min.length(); - ::memcpy(ptr, min.begin(), min.length()); + ::memcpy(ptr, min.begin(), min.length()); return ptr; } @@ -144,7 +144,7 @@ char* WriteSignedIntToBufferBackwardsImpl(char* ptr, T value, TStringBuf min) i64 rem = value % 100; i64 quot = value / 100; ptr -= 2; - ::memcpy(ptr, &DecimalDigits2[rem], 2); + ::memcpy(ptr, &DecimalDigits2[rem], 2); value = quot; } @@ -174,7 +174,7 @@ char* WriteUnsignedIntToBufferBackwardsImpl(char* ptr, T value) i64 rem = value % 100; i64 quot = value / 100; ptr -= 2; - ::memcpy(ptr, &DecimalDigits2[rem], 2); + ::memcpy(ptr, &DecimalDigits2[rem], 2); value = quot; } |