From 71cd3c017f3bdfd4cc67c607a62de06701bb0480 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 6 Oct 2004 13:27:45 +0000 Subject: silence compiler warnings --- unix/tkUnixWm.c | 10 +++++----- 1 file 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) { -- cgit v0.12