diff options
author | hobbs <hobbs> | 2001-09-21 21:34:10 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-09-21 21:34:10 (GMT) |
commit | 412b35142e73d8049d527706ee3da7c144699e53 (patch) | |
tree | 583cc81aad13aec41709aa168d6716a5ab8c4b0a /xlib | |
parent | 30d712282f4193c9a32da3dc31aef38bdca5ab22 (diff) | |
download | tk-412b35142e73d8049d527706ee3da7c144699e53.zip tk-412b35142e73d8049d527706ee3da7c144699e53.tar.gz tk-412b35142e73d8049d527706ee3da7c144699e53.tar.bz2 |
minor cast fixes to prevent 64bit warnings
Diffstat (limited to 'xlib')
-rw-r--r-- | xlib/xcolors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/xcolors.c b/xlib/xcolors.c index f345e08..628ae13 100644 --- a/xlib/xcolors.c +++ b/xlib/xcolors.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: xcolors.c,v 1.3 2000/03/02 23:53:26 hobbs Exp $ + * RCS: @(#) $Id: xcolors.c,v 1.4 2001/09/21 21:34:10 hobbs Exp $ */ #include <tkInt.h> @@ -887,7 +887,7 @@ XParseColor(display, map, spec, colorPtr) char fmt[16]; int i, red, green, blue; - if ((i = strlen(spec+1))%3) { + if ((i = (int) strlen(spec+1))%3) { return 0; } i /= 3; |