diff --git a/DDCore/include/DD4hep/Detector.h b/DDCore/include/DD4hep/Detector.h index 06ecf1a8c8bba0a8d0eae64f089e0dbc270b3fce..d83f57f58daa4137b36166bbddfb65379486f111 100644 --- a/DDCore/include/DD4hep/Detector.h +++ b/DDCore/include/DD4hep/Detector.h @@ -344,7 +344,7 @@ namespace DD4hep { /// Extend the detector element with an arbitrary callback template <typename Q, typename T> void callAtUpdate(unsigned int type, Q* pointer, - void (T::*pmf)(unsigned int typ, DetElement& det, void* opt_par)) const + void (T::*pmf)(unsigned long typ, DetElement& det, void* opt_par)) const { CallbackSequence::checkTypes(typeid(T), typeid(Q), dynamic_cast<T*>(pointer)); i_addUpdateCall(type, Callback(pointer).make(pmf)); diff --git a/DDCore/include/DD4hep/VolumeManager.h b/DDCore/include/DD4hep/VolumeManager.h index 18a9eae3a6faa47d428ed10962a40e09640cfb1b..86ff95afe874fcb50ef8e0bac9ed711db93a4102 100644 --- a/DDCore/include/DD4hep/VolumeManager.h +++ b/DDCore/include/DD4hep/VolumeManager.h @@ -160,7 +160,7 @@ namespace DD4hep { /// Search the locally cached volumes for a matching ID Context* search(const VolumeID& id) const; /// Update callback when alignment has changed (called only for subdetectors....) - void update(unsigned int tags, DetElement& det, void* param); + void update(unsigned long tags, DetElement& det, void* param); }; protected: diff --git a/DDCore/src/VolumeManager.cpp b/DDCore/src/VolumeManager.cpp index 46d1ea810bbf2acad1a472359ba3ae50546ad6f3..1266898f375c3bcd41a82822c1042583bcf1e527 100644 --- a/DDCore/src/VolumeManager.cpp +++ b/DDCore/src/VolumeManager.cpp @@ -241,7 +241,7 @@ VolumeManager::Object::~Object() { } /// Update callback when alignment has changed (called only for subdetectors....) -void VolumeManager::Object::update(unsigned int tags, DetElement& det, void* param) { +void VolumeManager::Object::update(unsigned long tags, DetElement& det, void* param) { if ( DetElement::CONDITIONS_CHANGED == (tags&DetElement::CONDITIONS_CHANGED) ) printout(INFO,"VolumeManager","+++ Conditions update %s param:%p",det.path().c_str(),param); if ( DetElement::PLACEMENT_CHANGED == (tags&DetElement::PLACEMENT_CHANGED) )