Skip to content

Commit

Permalink
Missing cast in dt_to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Feb 15, 2024
1 parent 23638d8 commit 5e3dac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/mysql/impl/internal/dt_to_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ inline std::size_t time_to_string(::boost::mysql::time value, span<char, 64> out

// Microseconds
*it++ = '.';
it = write_pad6(it, end, num_micros);
it = write_pad6(it, end, static_cast<unsigned long>(num_micros));

// Done
return it - output.data();
Expand Down

0 comments on commit 5e3dac3

Please sign in to comment.