Rework stripansicodes() to take a const char * argument rather than const unsigned char *,

fixing a large number of warnings. 


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@139 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2011-09-07 10:13:18 +00:00
parent 43aaf645e2
commit cc0a27d7fe
3 changed files with 14 additions and 12 deletions

View File

@@ -935,7 +935,7 @@ void make_status(Window *win)
strcmp(buffer, win->wset->status_line[status_line]))
{
unsigned char *st = NULL;
char *st = NULL;
malloc_strcpy(&win->wset->status_line[status_line], buffer);
output_screen = win->screen;
st = cparse((line==3)?FORMAT_STATUS3_FSET:(line==2)?FORMAT_STATUS2_FSET:(line==1)?FORMAT_STATUS1_FSET:FORMAT_STATUS_FSET, buffer);