Skip to content

Commit

Permalink
Re #10191. Trying to fix the build servers.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Sep 2, 2014
1 parent de737cb commit 6e0891c
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -2,6 +2,7 @@
* File: MatrixWSDataSource.cpp
*/

#include <boost/lexical_cast.hpp>
#include <iostream>
#include <sstream>
#include <math.h>
Expand Down Expand Up @@ -271,8 +272,8 @@ void MatrixWSDataSource::GetInfoList( double x,
if ( !ids.empty() )
{
list.push_back("Det ID");
const int32_t id(*(ids.begin()));
list.push_back(std::to_string(id));
const int64_t id = static_cast<int64_t>(*(ids.begin()));
list.push_back(boost::lexical_cast<std::string>(id));
}

IDetector_const_sptr det; // now try to do various unit conversions
Expand Down

0 comments on commit 6e0891c

Please sign in to comment.