summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2004-10-27 17:34:36 (GMT)
committerdgp <dgp@users.sourceforge.net>2004-10-27 17:34:36 (GMT)
commit5a56a6eaaa415bbd89c3b00a8a58ca629182842f (patch)
tree4bb111c13f2a35f9e2b27ca7a6ee25f4b6d4c1db
parent092d76ba6e79de38e7fab83e919cbf9b11a3e927 (diff)
downloadtk-5a56a6eaaa415bbd89c3b00a8a58ca629182842f.zip
tk-5a56a6eaaa415bbd89c3b00a8a58ca629182842f.tar.gz
tk-5a56a6eaaa415bbd89c3b00a8a58ca629182842f.tar.bz2
backport compiler warning silencers
-rw-r--r--unix/tkUnixWm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c
index 1d5a7fa..6f89bc2 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.36.2.3 2004/10/05 22:27:27 hobbs Exp $
+ * RCS: @(#) $Id: tkUnixWm.c,v 1.36.2.4 2004/10/27 17:34:36 dgp Exp $
*/
#include "tkPort.h"
@@ -479,7 +479,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);
@@ -506,7 +506,7 @@ void TkWmCleanup(dispPtr)
ckfree((char *) wmPtr);
}
if (dispPtr->iconDataPtr != NULL) {
- ckfree(dispPtr->iconDataPtr);
+ ckfree((char *)dispPtr->iconDataPtr);
dispPtr->iconDataPtr = NULL;
}
}
@@ -813,7 +813,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);
@@ -2198,7 +2198,7 @@ WmIconphotoCmd(tkwin, winPtr, interp, objc, objv)
}
}
if (wmPtr->iconDataPtr != NULL) {
- ckfree(wmPtr->iconDataPtr);
+ ckfree((char *)wmPtr->iconDataPtr);
wmPtr->iconDataPtr = NULL;
}
if (isDefault) {