aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/string/string.cpp
diff options
context:
space:
mode:
authormax42 <max42@yandex-team.ru>2022-02-10 16:47:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:51 +0300
commit884333bd8b9068bc6b852b948e9d8f23fd393ab7 (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/yt/string/string.cpp
parent9988f7c537b40605e1a0aaae2977d5f540425b83 (diff)
downloadydb-884333bd8b9068bc6b852b948e9d8f23fd393ab7.tar.gz
Restoring authorship annotation for <max42@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/string/string.cpp')
-rw-r--r--library/cpp/yt/string/string.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/string/string.cpp b/library/cpp/yt/string/string.cpp
index e3734288e8..7440ac3fdd 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;
}