Skip to content

Commit

Permalink
Remove old-style cast.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Davis authored and skystrife committed Oct 22, 2018
1 parent b8a1a07 commit e6907f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cpptoml.h
Original file line number Diff line number Diff line change
Expand Up @@ -3443,7 +3443,7 @@ class toml_writer
{
res += "\\\\";
}
else if ((const uint32_t)*it <= 0x001f)
else if (static_cast<uint32_t>(*it) <= UINT32_C(0x001f))
{
res += "\\u";
std::stringstream ss;
Expand Down

0 comments on commit e6907f5

Please sign in to comment.