uml: fix incompatible types warning in previous SG fix