--- sourceforge.net/trunk/rdesktop/rdp5.c 2004/04/30 06:18:08 687 +++ sourceforge.net/trunk/rdesktop/rdp5.c 2004/06/15 22:45:12 711 @@ -70,7 +70,7 @@ error("error while decompressing packet\n"); /* allocate memory and copy the uncompressed data into the temporary stream */ - ns->data = xrealloc(ns->data, rlen); + ns->data = (uint8 *) xrealloc(ns->data, rlen); memcpy((ns->data), (unsigned char *) (g_mppc_dict.hist + roff), rlen);