*/
#include <boost/algorithm/string.hpp>
+#include <boost/lexical_cast.hpp>
#include "subrip.h"
#include "subrip_content.h"
#include "subrip_subtitle.h"
vector<string> b;
boost::algorithm::split (b, a[2], boost::is_any_of (","));
r += ContentTime::from_seconds (lexical_cast<int> (b[0]));
- r += ContentTime::from_seconds (lexical_cast<float> (b[1]) / 1000);
+ r += ContentTime::from_seconds (lexical_cast<double> (b[1]) / 1000);
return r;
}