diff options
author | hobbs <hobbs> | 2004-03-16 19:52:52 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-03-16 19:52:52 (GMT) |
commit | 7988add1d4c5a53999db1b98d2623be5a1addbb1 (patch) | |
tree | 2565920b23593ae66e2118e3e8914d6c2bce46bb /unix | |
parent | f7eb5dd0242ff7912014727b8d21e33f69831bba (diff) | |
download | tk-7988add1d4c5a53999db1b98d2623be5a1addbb1.zip tk-7988add1d4c5a53999db1b98d2623be5a1addbb1.tar.gz tk-7988add1d4c5a53999db1b98d2623be5a1addbb1.tar.bz2 |
fix cast warnings
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixSelect.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c index 3920dcb..a67e97d 100644 --- a/unix/tkUnixSelect.c +++ b/unix/tkUnixSelect.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixSelect.c,v 1.12 2004/01/13 02:06:01 davygrvy Exp $ + * RCS: @(#) $Id: tkUnixSelect.c,v 1.13 2004/03/16 19:52:52 hobbs Exp $ */ #include "tkInt.h" @@ -247,7 +247,8 @@ TkSelPropProc(eventPtr) { register IncrInfo *incrPtr; register TkSelHandler *selPtr; - int i, length, numItems; + int length, numItems; + unsigned long i; Atom target, formatType; long buffer[TK_SEL_WORDS_AT_ONCE]; TkDisplay *dispPtr = TkGetDisplay(eventPtr->xany.display); @@ -802,7 +803,7 @@ ConvertSelection(winPtr, eventPtr) IncrInfo incr; /* State of selection conversion. */ Atom singleInfo[2]; /* incr.multAtoms points here except * for multiple conversions. */ - int i; + unsigned long i; Tk_ErrorHandler errorHandler; TkSelectionInfo *infoPtr; TkSelInProgress ip; |