Make IntToString argument names consistent.
This came from a clang-tidy warning.
Change-Id: I3a1b715e87c0dbe9e79013c15e14cf19dc5932cb
diff --git a/pw_string/public/pw_string/type_to_string.h b/pw_string/public/pw_string/type_to_string.h
index 90a91cd..ed88818 100644
--- a/pw_string/public/pw_string/type_to_string.h
+++ b/pw_string/public/pw_string/type_to_string.h
@@ -55,19 +55,19 @@
// sites pass their arguments directly and casting instructions are shared.
//
template <typename T>
-StatusWithSize IntToString(T integer, const span<char>& buffer) {
+StatusWithSize IntToString(T value, const span<char>& buffer) {
if constexpr (std::is_signed_v<T>) {
- return IntToString<int64_t>(integer, buffer);
+ return IntToString<int64_t>(value, buffer);
} else {
- return IntToString<uint64_t>(integer, buffer);
+ return IntToString<uint64_t>(value, buffer);
}
}
template <>
-StatusWithSize IntToString(uint64_t integer, const span<char>& buffer);
+StatusWithSize IntToString(uint64_t value, const span<char>& buffer);
template <>
-StatusWithSize IntToString(int64_t integer, const span<char>& buffer);
+StatusWithSize IntToString(int64_t value, const span<char>& buffer);
// Writes an integer as a hexadecimal string. Semantics match IntToString. The
// output is lowercase without a leading 0x.