High surf warning through Thursday night