summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-11 05:39:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-11 05:39:08 (GMT)
commitd73c6dbd81c0537e3d6df60dc145af1b6539d6d2 (patch)
tree21937654dd120ae841ab47a05d1d792b30ffc187 /generic/tclStubInit.c
parent36d06e1e0b240999e478c750f746a86dbd63caae (diff)
downloadtcl-d73c6dbd81c0537e3d6df60dc145af1b6539d6d2.zip
tcl-d73c6dbd81c0537e3d6df60dc145af1b6539d6d2.tar.gz
tcl-d73c6dbd81c0537e3d6df60dc145af1b6539d6d2.tar.bz2
Eliminate many unnecessary type-casts, mostly (size_t) when value is already size_t or int
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 7807083..bab9d5e 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -465,7 +465,7 @@ mp_err mp_toradix_n(const mp_int *a, char *str, int radix, int maxlen)
if (maxlen < 0) {
return MP_VAL;
}
- return mp_to_radix(a, str, (size_t)maxlen, NULL, radix);
+ return mp_to_radix(a, str, maxlen, NULL, radix);
}
void bn_reverse(unsigned char *s, int len)