restart: Fix pointer/XID confusion

This causes an error in recent gcc.