diff options
author | hobbs <hobbs> | 2001-09-21 21:34:10 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-09-21 21:34:10 (GMT) |
commit | e8f132cd37c3015beeec2ec97ee84dea417d46f6 (patch) | |
tree | 583cc81aad13aec41709aa168d6716a5ab8c4b0a /xlib/xcolors.c | |
parent | d9a421150450e1078ad5a86d4ed223a4fa98ba4c (diff) | |
download | tk-e8f132cd37c3015beeec2ec97ee84dea417d46f6.zip tk-e8f132cd37c3015beeec2ec97ee84dea417d46f6.tar.gz tk-e8f132cd37c3015beeec2ec97ee84dea417d46f6.tar.bz2 |
minor cast fixes to prevent 64bit warnings
Diffstat (limited to 'xlib/xcolors.c')
-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; |