Closed jhenin closed 7 months ago
Looks good to me!
For reference:
size_t
is already 64-bits (only unsigned).What about GROMACS 2024?
In GROMACS 2024, Colvars gets the current time step explicitly through the ForceProvider API, so not affected. https://github.com/Colvars/colvars/blob/7934bb674bfe071f3119e0430811ca638c5209b5/gromacs/gromacs-mdmodules/applied_forces/colvars/colvarsforceprovider.cpp#L318
Does the standard specify that size_t is 64 bit? Maybe in practice only? https://en.cppreference.com/w/c/types/size_t
Does the standard specify that size_t is 64 bit? Maybe in practice only? https://en.cppreference.com/w/c/types/size_t
I believe you'd have to go to a 32-bit architecture to find a narrower type for size_t.
Should fix #639