incompatibilities with objc++ compiler (i.e. due to type mismatch) corre...

incompatibilities with objc++ compiler (i.e. due to type mismatch) corrected