Commit 01fb6dd445c0bfd1382c773be1c78408387bbdb2

Authored by Jürgen Knödlseder
1 parent 2336d027

Convert explicitly unsigned int to int (will suppress clang warnings).

include/GApplicationPars.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GApplicationPars.hpp - Application parameters * 2 * GApplicationPars.hpp - Application parameters *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2010-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2010-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -160,7 +160,7 @@ const GApplicationPar& GApplicationPars::operator[](const int& index) const @@ -160,7 +160,7 @@ const GApplicationPar& GApplicationPars::operator[](const int& index) const
160 inline 160 inline
161 int GApplicationPars::size(void) const 161 int GApplicationPars::size(void) const
162 { 162 {
163 - return (m_pars.size()); 163 + return (int)m_pars.size();
164 } 164 }
165 165
166 166
include/GArf.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GArf.hpp - XSPEC Auxiliary Response File class * 2 * GArf.hpp - XSPEC Auxiliary Response File class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2013-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2013-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -134,7 +134,7 @@ const double& GArf::operator[](const int& index) const @@ -134,7 +134,7 @@ const double& GArf::operator[](const int& index) const
134 inline 134 inline
135 int GArf::size(void) const 135 int GArf::size(void) const
136 { 136 {
137 - return (m_specresp.size()); 137 + return (int)m_specresp.size();
138 } 138 }
139 139
140 140
include/GEnergies.hpp
@@ -149,7 +149,7 @@ const GEnergy& GEnergies::operator[](const int& index) const @@ -149,7 +149,7 @@ const GEnergy& GEnergies::operator[](const int& index) const
149 inline 149 inline
150 int GEnergies::size(void) const 150 int GEnergies::size(void) const
151 { 151 {
152 - return (m_energies.size()); 152 + return (int)m_energies.size();
153 } 153 }
154 154
155 155
include/GFits.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GFits.hpp - FITS file class * 2 * GFits.hpp - FITS file class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2008-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2008-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -231,7 +231,7 @@ const GFitsHDU* GFits::operator[](const std::string& extname) const @@ -231,7 +231,7 @@ const GFitsHDU* GFits::operator[](const std::string& extname) const
231 inline 231 inline
232 int GFits::size(void) const 232 int GFits::size(void) const
233 { 233 {
234 - return (m_hdu.size()); 234 + return (int)m_hdu.size();
235 } 235 }
236 236
237 237
include/GFitsHeader.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GFitsHeader.hpp - FITS header cards container class * 2 * GFitsHeader.hpp - FITS header cards container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2008-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2008-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -175,7 +175,7 @@ const GFitsHeaderCard& GFitsHeader::operator[](const std::string& keyname) const @@ -175,7 +175,7 @@ const GFitsHeaderCard& GFitsHeader::operator[](const std::string& keyname) const
175 inline 175 inline
176 int GFitsHeader::size(void) const 176 int GFitsHeader::size(void) const
177 { 177 {
178 - return (m_cards.size()); 178 + return (int)m_cards.size();
179 } 179 }
180 180
181 181
include/GModel.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GModel.hpp - Abstract virtual model base class * 2 * GModel.hpp - Abstract virtual model base class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2009-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2009-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -212,7 +212,7 @@ const GModelPar& GModel::operator[](const int& index) const @@ -212,7 +212,7 @@ const GModelPar& GModel::operator[](const int& index) const
212 inline 212 inline
213 int GModel::size(void) const 213 int GModel::size(void) const
214 { 214 {
215 - return (m_pars.size()); 215 + return (int)m_pars.size();
216 } 216 }
217 217
218 218
include/GModelSpatial.hpp
@@ -157,7 +157,7 @@ const GModelPar& GModelSpatial::operator[](const int& index) const @@ -157,7 +157,7 @@ const GModelPar& GModelSpatial::operator[](const int& index) const
157 inline 157 inline
158 int GModelSpatial::size(void) const 158 int GModelSpatial::size(void) const
159 { 159 {
160 - return (m_pars.size()); 160 + return (int)m_pars.size();
161 } 161 }
162 162
163 #endif /* GMODELSPATIAL_HPP */ 163 #endif /* GMODELSPATIAL_HPP */
include/GModelSpectral.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GModelSpectral.hpp - Abstract spectral model base class * 2 * GModelSpectral.hpp - Abstract spectral model base class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2009-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2009-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -155,7 +155,7 @@ const GModelPar& GModelSpectral::operator[](const int& index) const @@ -155,7 +155,7 @@ const GModelPar& GModelSpectral::operator[](const int& index) const
155 inline 155 inline
156 int GModelSpectral::size(void) const 156 int GModelSpectral::size(void) const
157 { 157 {
158 - return (m_pars.size()); 158 + return (int)m_pars.size();
159 } 159 }
160 160
161 #endif /* GMODELSPECTRAL_HPP */ 161 #endif /* GMODELSPECTRAL_HPP */
include/GModelSpectralNodes.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GModelSpectralNodes.hpp - Spectral nodes model class * 2 * GModelSpectralNodes.hpp - Spectral nodes model class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2012-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2012-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -201,7 +201,7 @@ std::string GModelSpectralNodes::type(void) const @@ -201,7 +201,7 @@ std::string GModelSpectralNodes::type(void) const
201 inline 201 inline
202 int GModelSpectralNodes::nodes(void) const 202 int GModelSpectralNodes::nodes(void) const
203 { 203 {
204 - return (m_energies.size()); 204 + return (int)m_energies.size();
205 } 205 }
206 206
207 #endif /* GMODELSPECTRALNODES_HPP */ 207 #endif /* GMODELSPECTRALNODES_HPP */
include/GModelTemporal.hpp
@@ -134,7 +134,7 @@ const GModelPar& GModelTemporal::operator[](const int& index) const @@ -134,7 +134,7 @@ const GModelPar& GModelTemporal::operator[](const int& index) const
134 inline 134 inline
135 int GModelTemporal::size(void) const 135 int GModelTemporal::size(void) const
136 { 136 {
137 - return (m_pars.size()); 137 + return (int)m_pars.size();
138 } 138 }
139 139
140 #endif /* GMODELTEMPORAL_HPP */ 140 #endif /* GMODELTEMPORAL_HPP */
include/GModels.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GModels.hpp - Model container class * 2 * GModels.hpp - Model container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2009-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2009-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -248,7 +248,7 @@ const GModel* GModels::operator[](const int& index) const @@ -248,7 +248,7 @@ const GModel* GModels::operator[](const int& index) const
248 inline 248 inline
249 int GModels::size(void) const 249 int GModels::size(void) const
250 { 250 {
251 - return (m_models.size()); 251 + return (int)m_models.size();
252 } 252 }
253 253
254 254
include/GNodeArray.hpp
@@ -184,7 +184,7 @@ const double& GNodeArray::operator[](const int& index) const @@ -184,7 +184,7 @@ const double& GNodeArray::operator[](const int& index) const
184 inline 184 inline
185 int GNodeArray::size(void) const 185 int GNodeArray::size(void) const
186 { 186 {
187 - return (m_node.size()); 187 + return (int)m_node.size();
188 } 188 }
189 189
190 190
include/GObservations.hpp
@@ -238,7 +238,7 @@ const GObservation* GObservations::operator[](const int& index) const @@ -238,7 +238,7 @@ const GObservation* GObservations::operator[](const int& index) const
238 inline 238 inline
239 int GObservations::size(void) const 239 int GObservations::size(void) const
240 { 240 {
241 - return (m_obs.size()); 241 + return (int)m_obs.size();
242 } 242 }
243 243
244 244
include/GOptimizerPars.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GOptimizerPars.hpp - Optimizer parameter container class * 2 * GOptimizerPars.hpp - Optimizer parameter container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2009-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2009-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -152,7 +152,7 @@ const GOptimizerPar* GOptimizerPars::operator[](const int& index) const @@ -152,7 +152,7 @@ const GOptimizerPar* GOptimizerPars::operator[](const int& index) const
152 inline 152 inline
153 int GOptimizerPars::size(void) const 153 int GOptimizerPars::size(void) const
154 { 154 {
155 - return (m_pars.size()); 155 + return (int)m_pars.size();
156 } 156 }
157 157
158 158
include/GPha.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GPha.hpp - XSPEC Pulse Height Analyzer class * 2 * GPha.hpp - XSPEC Pulse Height Analyzer class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2013-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2013-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -154,7 +154,7 @@ const double& GPha::operator[](const int& index) const @@ -154,7 +154,7 @@ const double& GPha::operator[](const int& index) const
154 inline 154 inline
155 int GPha::size(void) const 155 int GPha::size(void) const
156 { 156 {
157 - return (m_counts.size()); 157 + return (int)m_counts.size();
158 } 158 }
159 159
160 160
include/GPhotons.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GPhotons.hpp - Photon container class * 2 * GPhotons.hpp - Photon container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2012-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2012-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -99,7 +99,7 @@ std::string GPhotons::classname(void) const @@ -99,7 +99,7 @@ std::string GPhotons::classname(void) const
99 inline 99 inline
100 int GPhotons::size(void) const 100 int GPhotons::size(void) const
101 { 101 {
102 - return m_photons.size(); 102 + return (int)m_photons.size();
103 } 103 }
104 104
105 105
include/GSkyRegions.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GSkyRegions.hpp - Sky region container class * 2 * GSkyRegions.hpp - Sky region container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2013-2014 by Pierrick Martin * 4 + * copyright (C) 2013-2015 by Pierrick Martin *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -154,7 +154,7 @@ const GSkyRegion* GSkyRegions::operator[](const int& index) const @@ -154,7 +154,7 @@ const GSkyRegion* GSkyRegions::operator[](const int& index) const
154 inline 154 inline
155 int GSkyRegions::size(void) const 155 int GSkyRegions::size(void) const
156 { 156 {
157 - return (m_regions.size()); 157 + return (int)m_regions.size();
158 } 158 }
159 159
160 160
include/GTestSuite.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GTestSuite.hpp - Abstract test suite base class * 2 * GTestSuite.hpp - Abstract test suite base class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2012-2014 by Jean-Baptiste Cayrou * 4 + * copyright (C) 2012-2015 by Jean-Baptiste Cayrou *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -129,7 +129,7 @@ protected: @@ -129,7 +129,7 @@ protected:
129 inline 129 inline
130 int GTestSuite::size(void) const 130 int GTestSuite::size(void) const
131 { 131 {
132 - return m_tests.size(); 132 + return (int)m_tests.size();
133 } 133 }
134 134
135 135
include/GTestSuites.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GTestSuites.hpp - Test suite container class * 2 * GTestSuites.hpp - Test suite container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2012-2014 by Jean-Baptiste Cayrou * 4 + * copyright (C) 2012-2015 by Jean-Baptiste Cayrou *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -155,7 +155,7 @@ const GTestSuite* GTestSuites::operator[](const int& index) const @@ -155,7 +155,7 @@ const GTestSuite* GTestSuites::operator[](const int& index) const
155 inline 155 inline
156 int GTestSuites::size(void) const 156 int GTestSuites::size(void) const
157 { 157 {
158 - return m_testsuites.size(); 158 + return (int)m_testsuites.size();
159 } 159 }
160 160
161 161
include/GTimes.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GTimes.hpp - Time container class * 2 * GTimes.hpp - Time container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2012-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2012-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -99,7 +99,7 @@ std::string GTimes::classname(void) const @@ -99,7 +99,7 @@ std::string GTimes::classname(void) const
99 inline 99 inline
100 int GTimes::size(void) const 100 int GTimes::size(void) const
101 { 101 {
102 - return m_times.size(); 102 + return (int)m_times.size();
103 } 103 }
104 104
105 105
include/GXmlNode.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GXmlNode.hpp - Abstract XML node base class * 2 * GXmlNode.hpp - Abstract XML node base class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2010-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2010-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -125,7 +125,7 @@ protected: @@ -125,7 +125,7 @@ protected:
125 inline 125 inline
126 int GXmlNode::size(void) const 126 int GXmlNode::size(void) const
127 { 127 {
128 - return m_nodes.size(); 128 + return (int)m_nodes.size();
129 } 129 }
130 130
131 131
inst/cta/include/GCTAEventList.hpp
@@ -128,7 +128,7 @@ std::string GCTAEventList::classname(void) const @@ -128,7 +128,7 @@ std::string GCTAEventList::classname(void) const
128 inline 128 inline
129 int GCTAEventList::size(void) const 129 int GCTAEventList::size(void) const
130 { 130 {
131 - return (m_events.size()); 131 + return (int)m_events.size();
132 } 132 }
133 133
134 134
inst/cta/include/GCTAModelRadial.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GCTAModelRadial.hpp - Radial model abstract base class * 2 * GCTAModelRadial.hpp - Radial model abstract base class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2011-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2011-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -73,7 +73,7 @@ public: @@ -73,7 +73,7 @@ public:
73 virtual std::string print(const GChatter& chatter = NORMAL) const = 0; 73 virtual std::string print(const GChatter& chatter = NORMAL) const = 0;
74 74
75 // Methods 75 // Methods
76 - int size(void) const { return m_pars.size(); } 76 + int size(void) const { return (int)m_pars.size(); }
77 77
78 protected: 78 protected:
79 // Protected methods 79 // Protected methods
inst/cta/include/GCTAModelRadialPolynom.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GCTAModelRadialPolynom.hpp - Radial Polynom CTA model class * 2 * GCTAModelRadialPolynom.hpp - Radial Polynom CTA model class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2011-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2011-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -139,7 +139,7 @@ std::string GCTAModelRadialPolynom::type(void) const @@ -139,7 +139,7 @@ std::string GCTAModelRadialPolynom::type(void) const
139 inline 139 inline
140 int GCTAModelRadialPolynom::size(void) const 140 int GCTAModelRadialPolynom::size(void) const
141 { 141 {
142 - return (m_coeffs.size()); 142 + return (int)m_coeffs.size();
143 } 143 }
144 144
145 #endif /* GCTAMODELRADIALPOLYNOM_HPP */ 145 #endif /* GCTAMODELRADIALPOLYNOM_HPP */
inst/cta/include/GCTAOnOffObservations.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GCTAOnOffObservations.hpp - CTA on-off observation container class * 2 * GCTAOnOffObservations.hpp - CTA on-off observation container class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2013-2014 by Pierrick Martin * 4 + * copyright (C) 2013-2015 by Pierrick Martin *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -158,7 +158,7 @@ const GCTAOnOffObservation* GCTAOnOffObservations::operator[](const int& index) @@ -158,7 +158,7 @@ const GCTAOnOffObservation* GCTAOnOffObservations::operator[](const int& index)
158 inline 158 inline
159 int GCTAOnOffObservations::size(void) const 159 int GCTAOnOffObservations::size(void) const
160 { 160 {
161 - return (m_obs.size()); 161 + return (int)m_obs.size();
162 } 162 }
163 163
164 164
inst/lat/include/GLATEventCube.hpp
@@ -278,7 +278,7 @@ int GLATEventCube::ebins(void) const @@ -278,7 +278,7 @@ int GLATEventCube::ebins(void) const
278 inline 278 inline
279 int GLATEventCube::ndiffrsp(void) const 279 int GLATEventCube::ndiffrsp(void) const
280 { 280 {
281 - return m_srcmap.size(); 281 + return (int)m_srcmap.size();
282 } 282 }
283 283
284 #endif /* GLATEVENTCUBE_HPP */ 284 #endif /* GLATEVENTCUBE_HPP */
inst/lat/include/GLATEventList.hpp
@@ -115,7 +115,7 @@ std::string GLATEventList::classname(void) const @@ -115,7 +115,7 @@ std::string GLATEventList::classname(void) const
115 inline 115 inline
116 int GLATEventList::size(void) const 116 int GLATEventList::size(void) const
117 { 117 {
118 - return m_events.size(); 118 + return (int)m_events.size();
119 } 119 }
120 120
121 121
@@ -127,7 +127,7 @@ int GLATEventList::size(void) const @@ -127,7 +127,7 @@ int GLATEventList::size(void) const
127 inline 127 inline
128 int GLATEventList::number(void) const 128 int GLATEventList::number(void) const
129 { 129 {
130 - return m_events.size(); 130 + return (int)m_events.size();
131 } 131 }
132 132
133 133
inst/lat/include/GLATResponse.hpp
@@ -164,7 +164,7 @@ bool GLATResponse::use_tdisp(void) const @@ -164,7 +164,7 @@ bool GLATResponse::use_tdisp(void) const
164 inline 164 inline
165 int GLATResponse::size(void) const 165 int GLATResponse::size(void) const
166 { 166 {
167 - return m_aeff.size(); 167 + return (int)m_aeff.size();
168 } 168 }
169 169
170 170
inst/mwl/include/GMWLSpectrum.hpp
1 /*************************************************************************** 1 /***************************************************************************
2 * GMWLSpectrum.hpp - Multi-wavelength spectrum class * 2 * GMWLSpectrum.hpp - Multi-wavelength spectrum class *
3 * ----------------------------------------------------------------------- * 3 * ----------------------------------------------------------------------- *
4 - * copyright (C) 2010-2014 by Juergen Knoedlseder * 4 + * copyright (C) 2010-2015 by Juergen Knoedlseder *
5 * ----------------------------------------------------------------------- * 5 * ----------------------------------------------------------------------- *
6 * * 6 * *
7 * This program is free software: you can redistribute it and/or modify * 7 * This program is free software: you can redistribute it and/or modify *
@@ -119,7 +119,7 @@ std::string GMWLSpectrum::classname(void) const @@ -119,7 +119,7 @@ std::string GMWLSpectrum::classname(void) const
119 inline 119 inline
120 int GMWLSpectrum::size(void) const 120 int GMWLSpectrum::size(void) const
121 { 121 {
122 - return m_data.size(); 122 + return (int)m_data.size();
123 } 123 }
124 124
125 125