diff options
| author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-11-29 20:36:41 +0000 | 
|---|---|---|
| committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-11-29 20:36:41 +0000 | 
| commit | a5574d24bc8c0e94c8880c75f0fd27d08d30b98b (patch) | |
| tree | 362540cc48ae27617199a503e9f52d80e15c6033 /protocols/Sametime/src | |
| parent | f73897a8ca83abe24a15016808790e01d061cb36 (diff) | |
MirandaG15: code cleanup.
git-svn-id: http://svn.miranda-ng.org/main/trunk@11162 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Sametime/src')
| -rw-r--r-- | protocols/Sametime/src/meanwhile/src/mpi/mpi.c | 9 | 
1 files changed, 5 insertions, 4 deletions
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++;  | 
