From: hristov Date: Fri, 24 Aug 2007 15:16:12 +0000 (+0000) Subject: Using strtod instead of strtof (Linux with Solaris CC) X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=d0173e838486f6bec59125c4bac548dc256ad672;p=u%2Fmrichter%2FAliRoot.git Using strtod instead of strtof (Linux with Solaris CC) --- diff --git a/HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx b/HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx index 1bb40356411..d12afcb4168 100644 --- a/HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx +++ b/HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx @@ -38,6 +38,7 @@ using namespace std; #include "AliHLTTPCClusterDataFormat.h" #include "AliHLTTPCTransform.h" #include "AliHLTTPCClusters.h" +#define _ISOC99_SOURCE #include #include #include "TString.h" @@ -203,7 +204,7 @@ int AliHLTTPCClusterFinderComponent::DoInit( int argc, const char** argv ) // -- pad occupancy limit if ( !strcmp( argv[i], "occupancy-limit" ) ) { - occulimit = strtof( argv[i+1], &cpErr); + occulimit = strtod( argv[i+1], &cpErr); if ( *cpErr ) { HLTError("Cannot convert occupancy specifier '%s'.", argv[i+1]); return EINVAL;