fixed warnings

svn path=/trunk/; revision=15218
This commit is contained in:
Thomas Bluemel 2005-05-11 16:50:39 +00:00
parent 58d25e229d
commit abef9ffacb
30 changed files with 118 additions and 107 deletions

View file

@ -18,7 +18,7 @@ void PaintMsg(DFWINDOW wnd, DF_CTLWINDOW *ct, DFRECT *rc)
}
if (ct->itext != NULL)
{
unsigned char *txt;
char *txt;
txt = DfCalloc(1, strlen(ct->itext)+10);
if (ct->setting == DF_OFF) {
txt[0] = DF_CHANGECOLOR;