--- src/Client.C.orig Tue Nov 23 01:59:43 1999 +++ src/Client.C Tue Nov 23 02:01:29 1999 @@ -320,7 +320,7 @@ char *Client::getProperty(Atom a) { - unsigned char *p; + char *p; if (a == XA_WM_NAME || XA_WM_ICON_NAME) { XTextProperty xtp; @@ -335,7 +335,7 @@ if (st != 0) { XmbTextPropertyToTextList(display(), &xtp, &cl, &n); if(cl){ - p = (unsigned char *)malloc( + p = (char *)malloc( sizeof (unsigned char) * (strlen(cl[0]) + 1) ); strcpy(p, cl[0]); @@ -344,7 +344,7 @@ } } else{ - if(getProperty_aux(display(), m_window, a, XA_STRING, 100L, &p) <= 0) { + if(getProperty_aux(display(), m_window, a, XA_STRING, 100L, &(unsigned char *)p) <= 0) { return NULL; } }