mctools / mcpl

Monte Carlo Particle Lists
https://mctools.github.io/mcpl/
Other
29 stars 13 forks source link

universal pdgcode i/o's as uint32_t but is int32_t #29

Open tkittel opened 7 years ago

tkittel commented 7 years ago

Lines in mcpl.c like:

f->opt_universalpdgcode = arr[5];

Are possibly problematic. We should probably read the array as raw bytes, and then cast later.