From a5574d24bc8c0e94c8880c75f0fd27d08d30b98b Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sat, 29 Nov 2014 20:36:41 +0000 Subject: MirandaG15: code cleanup. git-svn-id: http://svn.miranda-ng.org/main/trunk@11162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Sametime/src/meanwhile/src/mpi/mpi.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'protocols/Sametime/src/meanwhile') diff --git a/protocols/Sametime/src/meanwhile/src/mpi/mpi.c b/protocols/Sametime/src/meanwhile/src/mpi/mpi.c index 1a33e98525..29626c80a2 100644 --- a/protocols/Sametime/src/meanwhile/src/mpi/mpi.c +++ b/protocols/Sametime/src/meanwhile/src/mpi/mpi.c @@ -1643,11 +1643,11 @@ mw_mp_err mw_mp_exptmod(mw_mp_int *a, mw_mp_int *b, mw_mp_int *m, mw_mp_int *c) { mw_mp_int s, x, mu; mw_mp_err res; - mw_mp_digit d, *db = DIGITS(b); + mw_mp_digit d, *db; mw_mp_size ub = USED(b); - /// Miranda NG adaptation start - MSVC - ///int dig, bit; - int bit; + /// Miranda NG adaptation start - MSVC + ///int dig, bit; + int bit; mw_mp_size dig; /// Miranda NG adaptation end @@ -1673,6 +1673,7 @@ mw_mp_err mw_mp_exptmod(mw_mp_int *a, mw_mp_int *b, mw_mp_int *m, mw_mp_int *c) goto CLEANUP; /* Loop over digits of b in ascending order, except highest order */ + db = DIGITS(b); for(dig = 0; dig < (ub - 1); dig++) { d = *db++; -- cgit v1.2.3