diff options
author | dgp <dgp@users.sourceforge.net> | 2004-10-27 17:34:36 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-10-27 17:34:36 (GMT) |
commit | defbe2d550efd6b5d93d6996f42d7e6d8339a168 (patch) | |
tree | 4bb111c13f2a35f9e2b27ca7a6ee25f4b6d4c1db | |
parent | de2bd3e7b1c90ac227eb59dd99dda24ce4ef99d7 (diff) | |
download | tk-defbe2d550efd6b5d93d6996f42d7e6d8339a168.zip tk-defbe2d550efd6b5d93d6996f42d7e6d8339a168.tar.gz tk-defbe2d550efd6b5d93d6996f42d7e6d8339a168.tar.bz2 |
backport compiler warning silencers
-rw-r--r-- | unix/tkUnixWm.c | 10 |
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) { |