diff options
author | hobbs <hobbs@noemail.net> | 2001-09-21 21:34:09 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2001-09-21 21:34:09 (GMT) |
commit | 76261cf1a5e2a1f3988f5cfb15c62ec55c41dd5e (patch) | |
tree | 583cc81aad13aec41709aa168d6716a5ab8c4b0a /xlib | |
parent | e6ac1dfdd2299d493c20c65744e3dc0b37b325f2 (diff) | |
download | tk-76261cf1a5e2a1f3988f5cfb15c62ec55c41dd5e.zip tk-76261cf1a5e2a1f3988f5cfb15c62ec55c41dd5e.tar.gz tk-76261cf1a5e2a1f3988f5cfb15c62ec55c41dd5e.tar.bz2 |
minor cast fixes to prevent 64bit warnings
FossilOrigin-Name: ea7bd071d695c4a3869d36be8fb5dbebf393f994
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; |