diff options
author | ericm <ericm@noemail.net> | 2000-10-30 20:04:15 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-10-30 20:04:15 (GMT) |
commit | 7c11f5304f77507f60bdf6cce248ea5a8023143c (patch) | |
tree | 038c4d7de60b02b3362ecdf9d81c8c16f3ee5d8a /generic/tkTest.c | |
parent | 8896abd609e66a50b911ac8d67ce0f753fd33d16 (diff) | |
download | tk-7c11f5304f77507f60bdf6cce248ea5a8023143c.zip tk-7c11f5304f77507f60bdf6cce248ea5a8023143c.tar.gz tk-7c11f5304f77507f60bdf6cce248ea5a8023143c.tar.bz2 |
Added type cast to (ClientData) for &CustomOption in option tests.
FossilOrigin-Name: a783a7b387ef011bdc328bda9bde29f6605adb64
Diffstat (limited to 'generic/tkTest.c')
-rw-r--r-- | generic/tkTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c index 891e7f6..b047b2d 100644 --- a/generic/tkTest.c +++ b/generic/tkTest.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkTest.c,v 1.14 2000/09/29 17:55:31 ericm Exp $ + * RCS: @(#) $Id: tkTest.c,v 1.15 2000/10/30 20:04:16 ericm Exp $ */ #include "tkInt.h" @@ -784,7 +784,7 @@ TestobjconfigObjCmd(clientData, interp, objc, objv) {TK_OPTION_CUSTOM, "-custom", (char *) NULL, (char *) NULL, "", Tk_Offset(TypesRecord, customPtr), -1, - TK_CONFIG_NULL_OK, &CustomOption, 0x4000}, + TK_CONFIG_NULL_OK, (ClientData)&CustomOption, 0x4000}, {TK_OPTION_SYNONYM, "-synonym", (char *) NULL, (char *) NULL, (char *) NULL, 0, -1, 0, (ClientData) "-color", @@ -1100,7 +1100,7 @@ TestobjconfigObjCmd(clientData, interp, objc, objv) {TK_OPTION_CUSTOM, "-custom", (char *) NULL, (char *) NULL, "", -1, Tk_Offset(InternalRecord, custom), - TK_CONFIG_NULL_OK, &CustomOption, 0x4000}, + TK_CONFIG_NULL_OK, (ClientData)&CustomOption, 0x4000}, {TK_OPTION_SYNONYM, "-synonym", (char *) NULL, (char *) NULL, (char *) NULL, -1, -1, 0, (ClientData) "-color", |