change slserver_register ncompatible pointer