eic / EICrecon

EIC Reconstruction - JANA based
https://eic.github.io/EICrecon
GNU Lesser General Public License v3.0
6 stars 27 forks source link

FarDetectorTrackerCluster.cc: ulong -> unsigned long #1413

Closed veprbl closed 4 months ago

veprbl commented 4 months ago

ulong from sys/types is not a standard C type

This fixes a compilation error:

src/algorithms/fardetectors/FarDetectorTrackerCluster.cc:113:26: error: use of undeclared identifier 'ulong'; did you mean 'long'?
      ROOT::VecOps::RVec<ulong> clusterList = {maxIndex};
                         ^~~~~
                         long
veprbl commented 4 months ago

No, actually this is from a private build on macOS. IIRC the GNU libc headers allow ulong and such by default, and sys/types gets included somewhere along the way.