summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_read_radix.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-20 09:07:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-20 09:07:35 (GMT)
commit88b282766104841d47f9878536605bc08ae4c599 (patch)
tree57406e965f588883b917e212fb93e93ac84f72cc /libtommath/bn_mp_read_radix.c
parent7a4fe54c26332c21cd95b01cc07bd74714d060ae (diff)
downloadtcl-88b282766104841d47f9878536605bc08ae4c599.zip
tcl-88b282766104841d47f9878536605bc08ae4c599.tar.gz
tcl-88b282766104841d47f9878536605bc08ae4c599.tar.bz2
Further astyle formatting of libtommath. No functional changes.
Diffstat (limited to 'libtommath/bn_mp_read_radix.c')
-rw-r--r--libtommath/bn_mp_read_radix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtommath/bn_mp_read_radix.c b/libtommath/bn_mp_read_radix.c
index 6e57ed5..bc31cc5 100644
--- a/libtommath/bn_mp_read_radix.c
+++ b/libtommath/bn_mp_read_radix.c
@@ -60,10 +60,10 @@ int mp_read_radix(mp_int *a, const char *str, int radix)
* to the number, otherwise exit the loop.
*/
if (y < radix) {
- if ((res = mp_mul_d(a, (mp_digit) radix, a)) != MP_OKAY) {
+ if ((res = mp_mul_d(a, (mp_digit)radix, a)) != MP_OKAY) {
return res;
}
- if ((res = mp_add_d(a, (mp_digit) y, a)) != MP_OKAY) {
+ if ((res = mp_add_d(a, (mp_digit)y, a)) != MP_OKAY) {
return res;
}
} else {