calloc casting fixes
Merge remote-tracking branch 'origin/master'

Conflicts:
	procsim.cpp