fix compile error: string change, sdlresult change