diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-26 10:58:01 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-02-26 10:58:01 (GMT) |
| commit | 24a416ad3867b536dd613454c6f07df349f797f2 (patch) | |
| tree | fa7b66ca7cfb0144000aa3e05f8c885441277b24 /generic/tclBasic.c | |
| parent | 8c3eb78cf7bd96819cbf50c6552954c785098f69 (diff) | |
| parent | 5c61b2bbdce7b9dbc4c067cf5646e8bd175a9d84 (diff) | |
| download | tcl-24a416ad3867b536dd613454c6f07df349f797f2.zip tcl-24a416ad3867b536dd613454c6f07df349f797f2.tar.gz tcl-24a416ad3867b536dd613454c6f07df349f797f2.tar.bz2 | |
Merge 8.7
Diffstat (limited to 'generic/tclBasic.c')
| -rw-r--r-- | generic/tclBasic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 034acde..c02cf6a 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -460,7 +460,7 @@ static const BuiltinFuncDef BuiltinFuncTable[] = { { "acos", ExprUnaryFunc, acos }, { "asin", ExprUnaryFunc, asin }, { "atan", ExprUnaryFunc, atan }, - { "atan2", ExprBinaryFunc, (double (*)(double)) (double (*)(double, double)) atan2}, + { "atan2", ExprBinaryFunc, (double (*)(double))(void *)(double (*)(double, double)) atan2}, { "bool", ExprBoolFunc, NULL }, { "ceil", ExprCeilFunc, NULL }, { "cos", ExprUnaryFunc, cos }, @@ -469,8 +469,8 @@ static const BuiltinFuncDef BuiltinFuncTable[] = { { "entier", ExprIntFunc, NULL }, { "exp", ExprUnaryFunc, exp }, { "floor", ExprFloorFunc, NULL }, - { "fmod", ExprBinaryFunc, (double (*)(double)) (double (*)(double, double)) fmod}, - { "hypot", ExprBinaryFunc, (double (*)(double)) (double (*)(double, double)) hypot}, + { "fmod", ExprBinaryFunc, (double (*)(double))(void *)(double (*)(double, double)) fmod}, + { "hypot", ExprBinaryFunc, (double (*)(double))(void *)(double (*)(double, double)) hypot}, { "int", ExprIntFunc, NULL }, { "isfinite", ExprIsFiniteFunc, NULL }, { "isinf", ExprIsInfinityFunc, NULL }, @@ -483,7 +483,7 @@ static const BuiltinFuncDef BuiltinFuncTable[] = { { "log10", ExprUnaryFunc, log10 }, { "max", ExprMaxFunc, NULL }, { "min", ExprMinFunc, NULL }, - { "pow", ExprBinaryFunc, (double (*)(double)) (double (*)(double, double)) pow}, + { "pow", ExprBinaryFunc, (double (*)(double))(void *)(double (*)(double, double)) pow}, { "rand", ExprRandFunc, NULL }, { "round", ExprRoundFunc, NULL }, { "sin", ExprUnaryFunc, sin }, |
