diff options
author | redman <redman> | 1999-04-06 23:22:23 (GMT) |
---|---|---|
committer | redman <redman> | 1999-04-06 23:22:23 (GMT) |
commit | 90345974fd93edba60e4ab949997bfc8ed07e8c5 (patch) | |
tree | 0fec2c529f8924711adb9da87b3b1d8a576a2930 | |
parent | 73c1bf87490f527fa24b6ce68af7c80a12171ced (diff) | |
download | tk-90345974fd93edba60e4ab949997bfc8ed07e8c5.zip tk-90345974fd93edba60e4ab949997bfc8ed07e8c5.tar.gz tk-90345974fd93edba60e4ab949997bfc8ed07e8c5.tar.bz2 |
Fixed warnings from Solaris compiler that turned out to be errors
on the native Irix compiler (unnecessary casting).
-rw-r--r-- | unix/tkUnixWm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/tkUnixWm.c b/unix/tkUnixWm.c index 82fb80e..7c49920 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.1.4.3 1998/12/13 08:14:41 lfb Exp $ + * RCS: @(#) $Id: tkUnixWm.c,v 1.1.4.4 1999/04/06 23:22:23 redman Exp $ */ #include "tkPort.h" @@ -424,7 +424,7 @@ TkWmNewWindow(winPtr) wmPtr->clientMachine = NULL; wmPtr->flags = WM_NEVER_MAPPED; wmPtr->nextPtr = (WmInfo *) dispPtr->firstWmPtr; - (WmInfo *) dispPtr->firstWmPtr = wmPtr; + dispPtr->firstWmPtr = wmPtr; winPtr->wmInfoPtr = wmPtr; UpdateVRootGeometry(wmPtr); @@ -630,7 +630,7 @@ TkWmDeadWindow(winPtr) return; } if ((WmInfo *) winPtr->dispPtr->firstWmPtr == wmPtr) { - (WmInfo *) winPtr->dispPtr->firstWmPtr = wmPtr->nextPtr; + winPtr->dispPtr->firstWmPtr = wmPtr->nextPtr; } else { register WmInfo *prevPtr; |