> How I can make this conversion without warning? > Overtyping m := Comp(t) is confusing and not delphi compatible. FPC is not warning compatible with FPC. Proposed solution looks fine to me.