This was SVN commit r10034.
Cast to smaller integer types explicitly. Generally avoid platform-dependent types (size_t) in simulation code. Use float versions of math.h functions, not double. This was SVN commit r10017.
This was SVN commit r9906.
This was SVN commit r9889.