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