summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixWm.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tkUnixWm.c')
-rw-r--r--unix/tkUnixWm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 8a7568a..2094197 100644
--- a/unix/tkUnixWm.c
+++ b/unix/tkUnixWm.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixWm.c,v 1.46 2004/10/05 22:04:46 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.47 2004/10/06 13:27:45 dgp Exp $
*/
#include "tkPort.h"
@@ -480,7 +480,7 @@ void TkWmCleanup(dispPtr)
ckfree(wmPtr->iconName);
}
if (wmPtr->iconDataPtr != NULL) {
- ckfree(wmPtr->iconDataPtr);
+ ckfree((char *)wmPtr->iconDataPtr);
}
if (wmPtr->leaderName != NULL) {
ckfree(wmPtr->leaderName);
@@ -507,7 +507,7 @@ void TkWmCleanup(dispPtr)
ckfree((char *) wmPtr);
}
if (dispPtr->iconDataPtr != NULL) {
- ckfree(dispPtr->iconDataPtr);
+ ckfree((char *)dispPtr->iconDataPtr);
dispPtr->iconDataPtr = NULL;
}
}
@@ -799,7 +799,7 @@ TkWmDeadWindow(winPtr)
ckfree(wmPtr->iconName);
}
if (wmPtr->iconDataPtr != NULL) {
- ckfree(wmPtr->iconDataPtr);
+ ckfree((char *)wmPtr->iconDataPtr);
}
if (wmPtr->hints.flags & IconPixmapHint) {
Tk_FreeBitmap(winPtr->display, wmPtr->hints.icon_pixmap);
@@ -2179,7 +2179,7 @@ WmIconphotoCmd(tkwin, winPtr, interp, objc, objv)
}
}
if (wmPtr->iconDataPtr != NULL) {
- ckfree(wmPtr->iconDataPtr);
+ ckfree((char *)wmPtr->iconDataPtr);
wmPtr->iconDataPtr = NULL;
}
if (isDefault) {