Changed every int to int32_t

This commit is contained in:
saundersp
2023-12-16 08:47:35 +01:00
parent a19787f273
commit 674c5da3cc
3 changed files with 26 additions and 19 deletions

View File

@ -124,8 +124,8 @@ namespace asp {
std::string thousand_sep(const uint64_t& k, const char& sep) noexcept {
std::string s = "", n = std::to_string(k);
int c = 0;
for (int i = static_cast<int>(n.size()) - 1; i >= 0; --i) {
int32_t c = 0;
for (int32_t i = static_cast<int32_t>(n.size()) - 1; i >= 0; --i) {
c++;
s.push_back(n[i]);
if (c == 3) {