Enable readability-uppercase-literal-suffix
We only had a few violations of this; Fix them and enable the check.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I159e774fd0169a91a092218ec8dc896ba9edebf4
diff --git a/include/json_html_serializer.hpp b/include/json_html_serializer.hpp
index 8e3cce5..022ee13 100644
--- a/include/json_html_serializer.hpp
+++ b/include/json_html_serializer.hpp
@@ -41,10 +41,10 @@
const uint8_t type = utf8d[byte];
codePoint = (state != utf8Accept)
- ? (byte & 0x3fu) | (codePoint << 6)
+ ? (byte & 0x3fU) | (codePoint << 6)
: static_cast<uint32_t>(0xff >> type) & (byte);
- state = utf8d[256u + state * 16u + type];
+ state = utf8d[256U + state * 16U + type];
return state;
}
@@ -284,7 +284,7 @@
{
return nDigits + 3;
}
- number = number / 10000u;
+ number = number / 10000U;
nDigits += 4;
}
}