diff options
author | dgp <dgp@users.sourceforge.net> | 2004-10-06 13:27:45 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2004-10-06 13:27:45 (GMT) |
commit | 71cd3c017f3bdfd4cc67c607a62de06701bb0480 (patch) | |
tree | bc316dccdc201922ed7788ed01a54d83fef0d998 /unix/tkUnixWm.c | |
parent | f2f61eac6e4030eb8c326fb3f24e9a78d57dc22a (diff) | |
download | tk-71cd3c017f3bdfd4cc67c607a62de06701bb0480.zip tk-71cd3c017f3bdfd4cc67c607a62de06701bb0480.tar.gz tk-71cd3c017f3bdfd4cc67c607a62de06701bb0480.tar.bz2 |
silence compiler warnings
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 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) { |