diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-01-02 22:52:38 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-01-02 22:52:38 (GMT) |
commit | 9ce612177c2d380c040f9f6f9ab986ebd0de3ea6 (patch) | |
tree | 729b6fa569e8ee8448009d10292da7e7a85108b0 /generic/tkTextMark.c | |
parent | 3db144c7eb6451a087bb9fd9f7eaa1f611a7118e (diff) | |
download | tk-9ce612177c2d380c040f9f6f9ab986ebd0de3ea6.zip tk-9ce612177c2d380c040f9f6f9ab986ebd0de3ea6.tar.gz tk-9ce612177c2d380c040f9f6f9ab986ebd0de3ea6.tar.bz2 |
SMALL FIX: Remove useless explicit casts now that we require C89 or later.
Diffstat (limited to 'generic/tkTextMark.c')
-rw-r--r-- | generic/tkTextMark.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTextMark.c b/generic/tkTextMark.c index 0a0dd2d..4fe035d 100644 --- a/generic/tkTextMark.c +++ b/generic/tkTextMark.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTextMark.c,v 1.24 2009/02/03 23:55:47 nijtmans Exp $ + * RCS: @(#) $Id: tkTextMark.c,v 1.25 2010/01/02 22:52:38 dkf Exp $ */ #include "tkInt.h" @@ -541,7 +541,7 @@ MarkLayoutProc( */ chunkPtr->breakIndex = -1; - chunkPtr->clientData = (ClientData) textPtr; + chunkPtr->clientData = textPtr; return 1; } @@ -582,7 +582,7 @@ TkTextInsertDisplayProc( * We have no need for the clientData. */ - /* TkText *textPtr = (TkText *) chunkPtr->clientData; */ + /* TkText *textPtr = chunkPtr->clientData; */ TkTextIndex index; int halfWidth = textPtr->insertWidth/2; int rightSideWidth; |