[PATCH 3/4] examples/dommigrate: Make retval portable