Commit c83cfc90 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

COMP: implicit prototype for std::pow

parent 7ec08f9a
......@@ -63,7 +63,7 @@ ossimDate ossimplugins::time::details::strptime(string_view const& format, strin
std::size_t nsecs_nb_digits = d.size();
ssecs = decode_uint(d);
nsecs_nb_digits -= d.size();
ssecs /= std::pow(10, nsecs_nb_digits);
ssecs /= std::pow((double)10.0, (int)nsecs_nb_digits);
} else {
// std::cout << "No subfraction in source date" << std::endl;
}
......
Supports Markdown
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