Build fixes for Xcode 14.2

  • fix implicit type conversions
  • port back generic readValue() function from VTM

Merge request reports

Loading