by using the int-to-enum casting instead. The port should now build on 5.3 and wherever else the self-tests were failing before. Submitted to vendor. Obtained from: Michael Cornelius