-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Labels
Description
DD4hep/DDCore/include/DD4hep/Plugins.h
Lines 145 to 148 in bec0603
| namespace dd4hep { | |
| template <> inline long PluginFactoryBase::make_return(const long& value) | |
| { static long stored=value; return (long)&stored; } | |
| } |
As long is only at least 32 bits, and I am using a 64 bit system, this casting to long is going to not allow one to retrieve the value of the long because the ptr address will be a bit random, right?
Instead return a long*?