Commit a6152eba authored by David P. Sicilia's avatar David P. Sicilia

Make an implicit cast from int --> uint32_t explicit.

Perhaps this casting should not happen to begin with, but better
to make it explicit where it is happening for readability.  This
fixes a compiler warning.
parent 63a475d8
...@@ -193,7 +193,7 @@ struct source_loc ...@@ -193,7 +193,7 @@ struct source_loc
} }
SPDLOG_CONSTEXPR source_loc(const char *filename, int line) SPDLOG_CONSTEXPR source_loc(const char *filename, int line)
: filename(filename) : filename(filename)
, line(line) , line(static_cast<uint32_t>(line))
{ {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment