Commit c3f2317298389f442e1ec98a5ad2cbf92d58c55f

Authored by Jürgen Knödlseder
1 parent 34d8c61d

Explicitly case unsigned integer to integer to avoid clang compiler warnings.

inst/cta/include/GCTAEventList.hpp
... ... @@ -140,7 +140,7 @@ int GCTAEventList::size(void) const
140 140 inline
141 141 int GCTAEventList::number(void) const
142 142 {
143   - return (m_events.size());
  143 + return (int)m_events.size();
144 144 }
145 145  
146 146  
... ...
inst/mwl/include/GMWLSpectrum.hpp
... ... @@ -144,7 +144,7 @@ int GMWLSpectrum::dim(void) const
144 144 inline
145 145 int GMWLSpectrum::naxis(const int& axis) const
146 146 {
147   - return m_data.size();
  147 + return (int)m_data.size();
148 148 }
149 149  
150 150  
... ...