Added a void ** caste to a few of the CAEN functions that the compiler didn't like.
Merge branch 'mws-dev'