diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp index dbdd9aa..ed8fe4c 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp @@ -342,10 +342,8 @@ std::unique_ptr convertTPCHits(const edm4hep::RawTimeSeri if (edm_tpchit.isAvailable()) { auto* lcio_tpchit = new lcio::TPCHitImpl(); -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wpedantic" -#warning "unsigned long long conversion to int" -#pragma GCC diagnostic pop +#pragma message "unsigned long long conversion to int" + lcio_tpchit->setCellID(edm_tpchit.getCellID()); lcio_tpchit->setTime(edm_tpchit.getTime()); lcio_tpchit->setCharge(edm_tpchit.getCharge());