From b61aba36ffa13d58bd4c0f87b1bd1685312d652f Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Wed, 18 Nov 2020 07:54:13 +0100 Subject: [PATCH] Remove implicit conversion warnings (#3324) --- ChangeLog | 3 ++- NEWS | 4 ++-- README.md | 2 +- doc/source/admin/release_history/2.0.rst | 4 +++- src/ctbin/ctbin.hpp | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index dae074c..6ee6f6f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -2020-11-17 +2020-11-18 * Version 2.0.0 released ======================== @@ -7,6 +7,7 @@ Add ctlike results to XML file (#3431) Fix implementation of fix_spat_for_ts parameter in ctlike (#3426) Replace std::tmpnam() by gammalib::tmpnam() function in ctselect (#3324) + Remove implicit conversion warnings (#3324) 2020-09-04 diff --git a/NEWS b/NEWS index 19c8b01..0a0e18a 100755 --- a/NEWS +++ b/NEWS @@ -1,6 +1,6 @@ New Features and Important Changes in ctools 2.0.0 -17 November 2020 +18 November 2020 Introduction @@ -36,7 +36,7 @@ None ctbin - CTA event binning ------------------------- -None +Removed implicit conversion warning during C++ compilation (#3324). ctbkgcube - CTA background cube generation diff --git a/README.md b/README.md index 1352f30..4962fda 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ctools information ================== -* Version: 2.0.0.dev (17 November 2020) +* Version: 2.0.0.dev (18 November 2020) * GammaLib dependency: 2.0.0.dev [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=ctools-integrate-os)](https://cta-jenkins.irap.omp.eu/job/ctools-integrate-os/) diff --git a/doc/source/admin/release_history/2.0.rst b/doc/source/admin/release_history/2.0.rst index 5de4ad7..f668033 100644 --- a/doc/source/admin/release_history/2.0.rst +++ b/doc/source/admin/release_history/2.0.rst @@ -1,6 +1,6 @@ .. _2.0: -ctools 2.0 release (17 November 2020) +ctools 2.0 release (18 November 2020) ===================================== Overview @@ -30,6 +30,8 @@ Improvements Add :ref:`ctlike` results to XML file * [`3324 `_] - Replace ``std::tmpnam()`` by ``gammalib::tmpnam()`` function in :ref:`ctselect` +* [`3324 `_] - + Remove implicit conversion warnings New features diff --git a/src/ctbin/ctbin.hpp b/src/ctbin/ctbin.hpp index 063c32e..d14740a 100755 --- a/src/ctbin/ctbin.hpp +++ b/src/ctbin/ctbin.hpp @@ -129,7 +129,7 @@ protected: inline int ctbin::cubes(void) const { - return m_cubes.size(); + return ((int)m_cubes.size()); } #endif /* CTBIN_HPP */ -- libgit2 0.21.4