chiark / gitweb /
unit: use safe downcasts, remove pointless casts