Changeset e8975278 in mainline for uspace/app/sbi/src


Ignore:
Timestamp:
2018-05-10T15:14:02Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1420cae9
Parents:
ae7d03c
git-author:
Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
Message:

A few more cstyle fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/bigint.c

    rae7d03c re8975278  
    202202
    203203        if (bigint->negative)
    204                 val = - val;
     204                val = -val;
    205205
    206206        /* If the value did not fit @c val now contains garbage. Verify. */
     
    368368{
    369369        static const char digits[] = { '0', '1', '2', '3', '4', '5', '6',
    370             '7', '8', '9' };
     370                '7', '8', '9' };
    371371
    372372        bigint_t val, tmp;
     
    632632                db = b;
    633633
    634                 tmp = (da * db) + (bigint_word_t) carry;
     634                tmp = da * db + (bigint_word_t) carry;
    635635
    636636                carry = (bigint_word_t) (tmp / BIGINT_BASE);
Note: See TracChangeset for help on using the changeset viewer.